Files
pi-ux-ce 7532b11dea
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2h0m39s
Update dockerfile
2026-04-06 13:25:37 +00:00

35 lines
803 B
Docker

FROM sharelatex/sharelatex:6.1.2
SHELL ["/bin/bash", "-cx"]
COPY update-tlmgr-latest.sh .
# update tlmgr itsel\f
RUN sh update-tlmgr-latest.sh \
&& tlmgr --version
# enable tlmgr to install ctex
RUN tlmgr update texlive-scripts
# update packages
RUN tlmgr update --all
# install all the packages
RUN tlmgr install scheme-full
# recreate symlinks
RUN tlmgr path add
# update system packages
RUN apt-get update && apt-get upgrade -y
# install inkscape for svg support
RUN apt-get install inkscape -y
# install lilypond
RUN apt-get install lilypond -y
# enable shell-escape by default:
RUN TEXLIVE_FOLDER=$(find /usr/local/texlive/ -type d -name '20*') \
&& echo % enable shell-escape by default >> /$TEXLIVE_FOLDER/texmf.cnf \
&& echo shell_escape = t >> /$TEXLIVE_FOLDER/texmf.cnf