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