add user to composer images to better support ssh keys and config

This commit is contained in:
2019-01-22 06:42:20 -05:00
parent 1d2aa5316f
commit 6c9fa54e9f
3 changed files with 5 additions and 0 deletions

View File

@@ -22,3 +22,4 @@ RUN apt-get update && apt-get install -y \
&& mkdir /.composer && chmod -R 777 /.composer
ENTRYPOINT /usr/local/bin/composer
RUN useradd -u 1000 -d /home/user user

View File

@@ -25,3 +25,5 @@ RUN apt-get update && apt-get install -y software-properties-common python-softw
&& mkdir /.composer && chmod -R 777 /.composer
ENTRYPOINT ["/usr/local/bin/composer"]
RUN useradd -u 1000 -d /home/user user

View File

@@ -25,3 +25,5 @@ RUN apt-get update && apt-get install -y software-properties-common python-softw
&& mkdir /.composer && chmod -R 777 /.composer
ENTRYPOINT ["/usr/local/bin/composer"]
RUN useradd -u 1000 -d /home/user user