Browse Source

add run-gui

master
zeus 3 years ago
parent
commit
7b0a0a92cb
  1. 10
      install/usr/share/swarmlab.io/sec/setup.sh
  2. 13
      install/usr/share/swarmlab.io/sec/swarmlab-sec

10
install/usr/share/swarmlab.io/sec/setup.sh

@ -6,9 +6,9 @@ set -o pipefail
scheme="$1"
echo "==> Install system packages"
apk update
apk --no-cache add \
okular
#apk update
#apk --no-cache add \
# okular
# make \
# xz
#
@ -20,7 +20,7 @@ if [ "$scheme" != "full" ]; then
echo "==> extra packages"
i#extrap=/extrapackages
#extrap=/extrapackages
if [ -f $extrap ]; then
echo "no"
@ -43,7 +43,7 @@ fi
# fc-cache -f
fi
texhash
#texhash
echo "==> Clean up"
rm -rf \

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

@ -40,7 +40,7 @@ IMAGE_local="microservice-xelatexthesis"
HYBRID_NETWORK="microservice-xelatexthesis"
# dont edit
#IMAGE_origin="hub.swarmlab.io:5480/hybrid-numpy"
IMAGE_origin="hub.swarmlab.io:5480/xelatex-base"
IMAGE_origin="hub.swarmlab.io:5480/xelatex-basegui"
bootstrap="sec_bootstrap"
hostnames="auto_update_hosts"
hostnames_get="get_hosts"
@ -170,10 +170,6 @@ if [ -d "$Wdir/project" ]; then
&& chown -R \${USER1}:\${USER1} \${SSHDIR}
COPY .vimrc /home/docker
COPY \
setup.sh \
/
RUN /setup.sh
EOF
fi
@ -256,13 +252,6 @@ if [ "$Wdir" == "$HOME" ]; then
&& chown -R \${USER1}:\${USER1} \${SSHDIR}
COPY .vimrc /home/docker
COPY \
setup.sh \
extrapackages \
/
COPY fonts-extra/ /usr/share/fonts
COPY cls/ /usr/local/texlive/texmf-local/tex/latex/local
RUN /setup.sh
EOF
fi

Loading…
Cancel
Save