|
|
@ -170,7 +170,8 @@ if [ -d "$Wdir/project" ]; then |
|
|
|
&& cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \ |
|
|
|
&& chmod -R 600 \${SSHDIR}/* \ |
|
|
|
&& chown -R \${USER1}:\${USER1} \${SSHDIR} \ |
|
|
|
&& chown -R \${USER1}:\${USER1} \${USER_HOME} |
|
|
|
&& chown -R \${USER1}:\${USER1} \${USER_HOME} \ |
|
|
|
&& pip3 install requests |
|
|
|
|
|
|
|
WORKDIR /home/docker/project |
|
|
|
COPY .vimrc /home/docker |
|
|
@ -255,7 +256,8 @@ if [ "$Wdir" == "$HOME" ]; then |
|
|
|
&& cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \ |
|
|
|
&& chmod -R 600 \${SSHDIR}/* \ |
|
|
|
&& chown -R \${USER1}:\${USER1} \${SSHDIR} \ |
|
|
|
&& chown -R \${USER1}:\${USER1} \${USER_HOME} |
|
|
|
&& chown -R \${USER1}:\${USER1} \${USER_HOME} \ |
|
|
|
&& pip3 install requests |
|
|
|
|
|
|
|
|
|
|
|
COPY .vimrc /home/docker |
|
|
|