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

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

@ -40,7 +40,7 @@ IMAGE_local="microservice-octave"
HYBRID_NETWORK="microservice-octave" HYBRID_NETWORK="microservice-octave"
# dont edit # dont edit
#IMAGE_origin="hub.swarmlab.io:5480/hybrid-numpy" #IMAGE_origin="hub.swarmlab.io:5480/hybrid-numpy"
IMAGE_origin="edgelevel/alpine-xfce-vnc" IMAGE_origin="hub.swarmlab.io:5480/hybrid-octave"
bootstrap="sec_bootstrap" bootstrap="sec_bootstrap"
hostnames="auto_update_hosts" hostnames="auto_update_hosts"
hostnames_get="get_hosts" hostnames_get="get_hosts"
@ -171,9 +171,7 @@ if [ -d "$Wdir/project" ]; then
&& echo "StrictHostKeyChecking no" > \${SSHDIR}/config \ && echo "StrictHostKeyChecking no" > \${SSHDIR}/config \
&& cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \ && cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \
&& chmod -R 600 \${SSHDIR}/* \ && 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 COPY .vimrc /home/docker
@ -255,9 +253,7 @@ if [ "$Wdir" == "$HOME" ]; then
&& echo "StrictHostKeyChecking no" > \${SSHDIR}/config \ && echo "StrictHostKeyChecking no" > \${SSHDIR}/config \
&& cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \ && cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \
&& chmod -R 600 \${SSHDIR}/* \ && 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 COPY .vimrc /home/docker

Loading…
Cancel
Save