Add with-texlive target to clsi Dockerfile (#31625)

GitOrigin-RevId: f2a971c761f09974921bf043e1f4959c63107dd8
This commit is contained in:
Alf Eaton
2026-03-05 12:43:53 +00:00
committed by Copybot
parent d384e61eb6
commit f605a337aa
4 changed files with 14 additions and 24 deletions

View File

@@ -39,6 +39,18 @@ COPY libraries/settings/ /overleaf/libraries/settings/
COPY libraries/stream-utils/ /overleaf/libraries/stream-utils/
COPY services/clsi/ /overleaf/services/clsi/
FROM app AS with-texlive
RUN apt-get update \
&& apt-cache depends texlive-full | grep "Depends: " | grep -v -- "-doc" | grep -v -- "-lang-" | sed 's/Depends: //' | xargs apt-get install -y --no-install-recommends \
&& apt-get install -y --no-install-recommends fontconfig inkscape python3-pygments qpdf \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p cache compiles output \
&& chown node:node cache compiles output
CMD ["node", "--expose-gc", "app.js"]
FROM app
RUN mkdir -p cache compiles output \
&& chown node:node cache compiles output