From 7b0a0a92cbcfa0c7ff53a38d4e3eb6e5cfae572a Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 10 Dec 2021 14:25:47 +0200 Subject: [PATCH] add run-gui --- install/usr/share/swarmlab.io/sec/setup.sh | 10 +++++----- install/usr/share/swarmlab.io/sec/swarmlab-sec | 13 +------------ 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/setup.sh b/install/usr/share/swarmlab.io/sec/setup.sh index 330cecf..56b110e 100755 --- a/install/usr/share/swarmlab.io/sec/setup.sh +++ b/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 \ diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 9d071c6..3afca31 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/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