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