This commit is contained in:
@@ -8,13 +8,16 @@ FROM texlive/texlive:TL2025-historic
|
|||||||
# The workflow's actions (checkout, upload-artifact) are JavaScript actions and
|
# 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.
|
# 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.
|
# Packages come from the image's own Debian repositories -- no downloaded scripts.
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
nodejs git ca-certificates python3 python3-pip python3-venv \
|
nodejs git ca-certificates python3 python3-pip python3-venv curl \
|
||||||
&& python3 -m venv /opt/latex-venv \
|
&& python3 -m venv /opt/latex-venv \
|
||||||
&& /opt/latex-venv/bin/pip install --upgrade pip latexminted Pygments \
|
&& /opt/latex-venv/bin/pip install --upgrade pip \
|
||||||
&& ln -sf /opt/latex-venv/bin/latexminted /usr/local/bin/latexminted \
|
&& /opt/latex-venv/bin/pip install --upgrade latexminted==0.7.1 Pygments \
|
||||||
&& ln -sf /opt/latex-venv/bin/pygmentize /usr/local/bin/pygmentize \
|
&& 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/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ENV PATH="/opt/latex-venv/bin:/usr/local/bin:${PATH}"
|
ENV PATH="/opt/latex-venv/bin:/usr/local/bin:${PATH}"
|
||||||
|
|||||||
Reference in New Issue
Block a user