zeus 3 years ago
parent
commit
ba2dd53da6
  1. 10
      install/usr/share/swarmlab.io/sec/swarmlab-sec

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

@ -158,7 +158,6 @@ if [ -d "$Wdir/project" ]; then
COPY ssh/ \${SSHDIR}/
RUN export DEBIAN_FRONTEND=noninteractive \
&& apk upgrade --update && apk add --no-cache octave \
&& rm -rf /usr/share/doc \
&& rm -rf /usr/share/man \
&& rm -rf /usr/share/locale \
@ -172,7 +171,9 @@ if [ -d "$Wdir/project" ]; then
&& echo "StrictHostKeyChecking no" > \${SSHDIR}/config \
&& cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \
&& chmod -R 600 \${SSHDIR}/* \
&& chown -R \${USER1}:\${USER1} \${SSHDIR}
&& chown -R \${USER1}:\${USER1} \${SSHDIR} \
&& apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
octave
COPY .vimrc /home/docker
@ -241,7 +242,6 @@ if [ "$Wdir" == "$HOME" ]; then
ENV USER_HOME /home/docker
RUN export DEBIAN_FRONTEND=noninteractive \
&& apk upgrade --update && apk add --no-cache octave \
&& rm -rf /usr/share/doc \
&& rm -rf /usr/share/man \
&& rm -rf /usr/share/locale \
@ -255,7 +255,9 @@ if [ "$Wdir" == "$HOME" ]; then
&& echo "StrictHostKeyChecking no" > \${SSHDIR}/config \
&& cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \
&& chmod -R 600 \${SSHDIR}/* \
&& chown -R \${USER1}:\${USER1} \${SSHDIR}
&& chown -R \${USER1}:\${USER1} \${SSHDIR} \
&& apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
octave
COPY .vimrc /home/docker

Loading…
Cancel
Save