From ed67590cc94386eb9735bf1ca27dd147aa423c48 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 21 Jul 2022 09:28:24 +0100 Subject: [PATCH] Merge pull request #7901 from overleaf/ae-tlmgr-path Use `tlmgr path add` for TeX Live binaries GitOrigin-RevId: fa80915c036000eebd22f8e2e07f12f2505e624b --- server-ce/Dockerfile-base | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server-ce/Dockerfile-base b/server-ce/Dockerfile-base index 8fc5c85d68..c5f1a8b2b6 100644 --- a/server-ce/Dockerfile-base +++ b/server-ce/Dockerfile-base @@ -42,8 +42,6 @@ RUN chmod +x /usr/bin/envsubst # -f Dockerfile-base -t sharelatex/sharelatex-base . ARG TEXLIVE_MIRROR=http://mirror.ctan.org/systems/texlive/tlnet -ENV PATH "${PATH}:/usr/local/texlive/2022/bin/x86_64-linux" - RUN mkdir /install-tl-unx \ && curl -sSL \ ${TEXLIVE_MIRROR}/install-tl-unx.tar.gz \ @@ -58,11 +56,13 @@ RUN mkdir /install-tl-unx \ -profile /install-tl-unx/texlive.profile \ -repository ${TEXLIVE_MIRROR} \ \ +&& $(find /usr/local/texlive -name tlmgr) path add \ && tlmgr install --repository ${TEXLIVE_MIRROR} \ latexmk \ texcount \ synctex \ \ +&& tlmgr path add \ && rm -rf /install-tl-unx