|
|
@ -134,7 +134,7 @@ if [ -d "$Wdir/project" ]; then |
|
|
|
&& rm -rf /usr/share/man \ |
|
|
|
&& rm -rf /usr/share/locale \ |
|
|
|
&& mkdir -p /var/run/sshd \ |
|
|
|
&& useradd -m -s /bin/bash -N -u \${USER1_ID} \${USER1} \ |
|
|
|
&& useradd -s /bin/bash -U -u \${USER1_ID} \${USER1} \ |
|
|
|
&& echo 'root:$ROOT_PASSWORD' | chpasswd \ |
|
|
|
&& echo "export VISIBLE=now" >> /etc/profile \ |
|
|
|
&& mkdir -p /home/docker/project \ |
|
|
@ -212,7 +212,7 @@ if [ "$Wdir" == "$HOME" ]; then |
|
|
|
&& rm -rf /usr/share/man \ |
|
|
|
&& rm -rf /usr/share/locale \ |
|
|
|
&& mkdir -p /var/run/sshd \ |
|
|
|
&& useradd -m -s /bin/bash -N -u \${USER1_ID} \${USER1} \ |
|
|
|
&& useradd -s /bin/bash -U -u \${USER1_ID} \${USER1} \ |
|
|
|
&& echo 'root:$ROOT_PASSWORD' | chpasswd \ |
|
|
|
&& echo "export VISIBLE=now" >> /etc/profile \ |
|
|
|
&& mkdir -p /home/docker/project \ |
|
|
|