Browse Source

add template

master
zeus 3 years ago
parent
commit
a58b658e1b
  1. 2
      install/usr/share/swarmlab.io/sec/swarmlab-sec
  2. 2
      install/usr/share/swarmlab.io/sec/swarmlab-template.sh

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

@ -244,7 +244,7 @@ if [ "$Wdir" == "$HOME" ]; then
EOF EOF
cat $Wdir/install/usr/share/swarmlab.io/sec/Dockerfile.tmp >> $Wdir/Dockerfile cat $Wdir/Dockerfile.tmp >> $Wdir/Dockerfile
fi fi

2
install/usr/share/swarmlab.io/sec/swarmlab-template.sh

@ -37,7 +37,7 @@ service_URL=http
EOF EOF
cat << EOF >> $SRPATH/Dockerfile.tmp cat << EOF > $SRPATH/Dockerfile.tmp
RUN export DEBIAN_FRONTEND=noninteractive \ RUN export DEBIAN_FRONTEND=noninteractive \
&& rm -rf /usr/share/doc \ && rm -rf /usr/share/doc \
&& rm -rf /usr/share/man \ && rm -rf /usr/share/man \

Loading…
Cancel
Save