From c61c4d9d86b7979d9bc6fb97432dad92ac408a5c Mon Sep 17 00:00:00 2001 From: kholmes Date: Sat, 10 Oct 2026 03:27:09 +0000 Subject: [PATCH] Update manual/ci/Dockerfile --- manual/ci/Dockerfile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/manual/ci/Dockerfile b/manual/ci/Dockerfile index 0eb68e8..e5ba9a3 100644 --- a/manual/ci/Dockerfile +++ b/manual/ci/Dockerfile @@ -8,13 +8,16 @@ FROM texlive/texlive:TL2025-historic # The workflow's actions (checkout, upload-artifact) are JavaScript actions and # need Node.js inside the job container; git lets checkout do a real clone. # Packages come from the image's own Debian repositories -- no downloaded scripts. + RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - nodejs git ca-certificates python3 python3-pip python3-venv \ - && python3 -m venv /opt/latex-venv \ - && /opt/latex-venv/bin/pip install --upgrade pip latexminted Pygments \ - && ln -sf /opt/latex-venv/bin/latexminted /usr/local/bin/latexminted \ - && ln -sf /opt/latex-venv/bin/pygmentize /usr/local/bin/pygmentize \ - && rm -rf /var/lib/apt/lists/* + && apt-get install -y --no-install-recommends \ + nodejs git ca-certificates python3 python3-pip python3-venv curl \ + && python3 -m venv /opt/latex-venv \ + && /opt/latex-venv/bin/pip install --upgrade pip \ + && /opt/latex-venv/bin/pip install --upgrade latexminted==0.7.1 Pygments \ + && curl -fsSL https://mirrors.ctan.org/macros/latex/contrib/minted/minted.sty \ + -o /usr/local/share/texmf/tex/latex/minted/minted.sty \ + && mktexlsr \ + && rm -rf /var/lib/apt/lists/* ENV PATH="/opt/latex-venv/bin:/usr/local/bin:${PATH}"