|
|
@ -153,7 +153,6 @@ if [ -d "$Wdir/project" ]; then |
|
|
|
COPY ssh/ \${SSHDIR}/ |
|
|
|
|
|
|
|
RUN export DEBIAN_FRONTEND=noninteractive \ |
|
|
|
&& addgroup -S docker && adduser -S docker -G docker \ |
|
|
|
&& rm -rf /usr/share/doc \ |
|
|
|
&& rm -rf /usr/share/man \ |
|
|
|
&& rm -rf /usr/share/locale \ |
|
|
@ -235,7 +234,6 @@ if [ "$Wdir" == "$HOME" ]; then |
|
|
|
&& rm -rf /usr/share/doc \ |
|
|
|
&& rm -rf /usr/share/man \ |
|
|
|
&& rm -rf /usr/share/locale \ |
|
|
|
&& addgroup -S docker && adduser -S docker -G docker \ |
|
|
|
&& mkdir -p /var/run/sshd \ |
|
|
|
&& echo 'root:pass' | chpasswd \ |
|
|
|
&& echo "export VISIBLE=now" >> /etc/profile \ |
|
|
|