|
|
@ -169,7 +169,8 @@ if [ -d "$Wdir/project" ]; then |
|
|
|
&& chown -R \${USER1}:\${USER1} \${SSHDIR} |
|
|
|
|
|
|
|
COPY .vimrc /home/docker |
|
|
|
USER root |
|
|
|
WORKDIR /home/docker/project |
|
|
|
USER docker |
|
|
|
EOF |
|
|
|
fi |
|
|
|
else |
|
|
@ -248,7 +249,8 @@ if [ "$Wdir" == "$HOME" ]; then |
|
|
|
&& chown -R \${USER1}:\${USER1} \${SSHDIR} |
|
|
|
|
|
|
|
COPY .vimrc /home/docker |
|
|
|
USER root |
|
|
|
WORKDIR /home/docker/project |
|
|
|
USER docker |
|
|
|
EOF |
|
|
|
fi |
|
|
|
|
|
|
|