Browse Source

add run-gui

master
zeus 3 years ago
parent
commit
41a10724ec
  1. 1
      install/usr/share/swarmlab.io/sec/run-gui.sh
  2. 17
      install/usr/share/swarmlab.io/sec/setup.sh
  3. 3
      install/usr/share/swarmlab.io/sec/swarmlab-sec

1
install/usr/share/swarmlab.io/sec/run-gui.sh

@ -0,0 +1 @@
docker exec -e DISPLAY=$DISPLAY microservice-xelatexthesis_masterservice_1 /bin/sh -c "okular -f main.pdf"

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

@ -16,18 +16,19 @@ apk --no-cache add \
if [ "$scheme" != "full" ]; then
# tlmgr install \
# fmtcount
tlmgr update --self
# tlmgr update --self
echo "==> extra packages"
extrap=/extrapackages
i#extrap=/extrapackages
if [ -f $extrap ]; then
while read -r line; do
extrapackages="$extrapackages $line"
done < $extrap
echo "no"
#while read -r line; do
#extrapackages="$extrapackages $line"
#done < $extrap
tlmgr install $extrapackages
#tlmgr install $extrapackages
else
echo "No extrapackages file"
@ -37,9 +38,9 @@ fi
# apk add --no-cache msttcorefonts-installer
update-ms-fonts
# update-ms-fonts
fc-cache -f
# fc-cache -f
fi
texhash

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

@ -172,10 +172,7 @@ if [ -d "$Wdir/project" ]; then
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

Loading…
Cancel
Save