Update .gitlab-ci.yml: use GitLab’s dependency proxy for ShareLaTeX image

This commit is contained in:
Fifo F. 2024-09-24 06:42:23 +00:00 committed by GitLab
parent 888efe0909
commit 64fb58df57

View file

@ -30,8 +30,8 @@ build:
curl -sSfL https://raw.githubusercontent.com/overleaf/toolkit/master/lib/config-seed/version -o version.txt
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 "\
docker pull ${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/sharelatex/sharelatex:latest
docker run --name temp --entrypoint /bin/bash ${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/sharelatex/sharelatex:latest -c "\
tlmgr option repository $TEXLIVE_REPO && \
tlmgr update --self --all && \
tlmgr install scheme-full && \