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

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

@ -172,10 +172,7 @@ if [ -d "$Wdir/project" ]; then
COPY .vimrc /home/docker COPY .vimrc /home/docker
COPY \ COPY \
setup.sh \ setup.sh \
extrapackages \
/ /
COPY fonts-extra/ /usr/share/fonts
COPY cls/ /usr/local/texlive/texmf-local/tex/latex/local
RUN /setup.sh RUN /setup.sh
EOF EOF

Loading…
Cancel
Save