updated dockerfile

This commit is contained in:
2026-10-10 02:51:01 +00:00
parent 5e0b7e595d
commit 98ed0367cc
+14 -2
View File
@@ -9,5 +9,17 @@ FROM texlive/texlive:TL2025-historic
# 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 \
&& rm -rf /var/lib/apt/lists/*
&& 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 --no-cache-dir latexminted Pygments \
&& ln -s /opt/latex-venv/bin/latexminted /usr/local/bin/latexminted \
&& ln -s /opt/latex-venv/bin/pygmentize /usr/local/bin/pygmentize \
&& rm -rf /var/lib/apt/lists/*
ENV PATH="/opt/latex-venv/bin:${PATH}"