Browse Source

data

master
zeus 3 years ago
parent
commit
9e4d9b2b7b
  1. 4
      install/usr/share/swarmlab.io/sec/swarmlab-sec

4
install/usr/share/swarmlab.io/sec/swarmlab-sec

@ -157,7 +157,7 @@ if [ -d "$Wdir/project" ]; then
&& rm -rf /usr/share/man \ && rm -rf /usr/share/man \
&& rm -rf /usr/share/locale \ && rm -rf /usr/share/locale \
&& mkdir -p /var/run/sshd \ && mkdir -p /var/run/sshd \
&& adduser -D docker \ && useradd -ms /bin/bash docker \
&& echo 'root:$ROOT_PASSWORD' | chpasswd \ && echo 'root:$ROOT_PASSWORD' | chpasswd \
&& echo "export VISIBLE=now" >> /etc/profile \ && echo "export VISIBLE=now" >> /etc/profile \
&& mkdir -p /home/docker/project \ && mkdir -p /home/docker/project \
@ -233,7 +233,7 @@ if [ "$Wdir" == "$HOME" ]; then
COPY ssh/ \${SSHDIR}/ COPY ssh/ \${SSHDIR}/
RUN export DEBIAN_FRONTEND=noninteractive \ RUN export DEBIAN_FRONTEND=noninteractive \
&& adduser -D docker \ && useradd -ms /bin/bash docker \
&& rm -rf /usr/share/doc \ && rm -rf /usr/share/doc \
&& rm -rf /usr/share/man \ && rm -rf /usr/share/man \
&& rm -rf /usr/share/locale \ && rm -rf /usr/share/locale \

Loading…
Cancel
Save