From 67878b578b424747a368d83414656adb48d11e00 Mon Sep 17 00:00:00 2001 From: Fifo F Date: Fri, 2 Aug 2024 11:59:07 +0200 Subject: [PATCH] Add Pygments, Inkscape and Lilypond to the image Signed-off-by: Fifo F --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7bed839..5f48c06 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,13 @@ build: OVERLEAF_VERSION=$(cat version.txt) echo "Image version: $OVERLEAF_VERSION" docker pull sharelatex/sharelatex:latest - docker run --name temp --entrypoint /bin/bash sharelatex/sharelatex:latest -c "tlmgr option repository $TEXLIVE_REPO && tlmgr update --self --all && tlmgr install scheme-full" + docker run --name temp --entrypoint /bin/bash sharelatex/sharelatex:latest -c "\ + tlmgr option repository $TEXLIVE_REPO && \ + tlmgr update --self --all && \ + tlmgr install scheme-full && \ + tlmgr path add && \ + apt update && apt install -y inkscape lilypond python3-pygments && \ + echo shell_escape = t >> /usr/local/texlive/2024/texmf.cnf" docker commit --change "ENTRYPOINT $IMAGE_ENTRYPOINT" temp $IMAGE_NAME:$OVERLEAF_VERSION docker tag $IMAGE_NAME:$OVERLEAF_VERSION $IMAGE_NAME:latest docker save -o $ARCHIVED_IMAGE $IMAGE_NAME:$OVERLEAF_VERSION $IMAGE_NAME:latest