Change base image, upgrade pandoc and ensure newest version of dependencies

This commit is contained in:
KingOfDog 2023-07-03 17:35:01 +02:00
parent a32901dc3a
commit bdeb649e45

View File

@ -1,7 +1,7 @@
FROM debian:bullseye-slim FROM texlive/texlive:latest
ARG PANDOC_VERSION=3.0.1 ARG PANDOC_VERSION=3.1.4
ARG PANDOC_CROSSREF_VERSION=v0.3.15.0 ARG PANDOC_CROSSREF_VERSION=v0.3.16.0b
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get clean RUN apt-get clean
@ -19,18 +19,7 @@ RUN mv pandoc-${PANDOC_VERSION}/bin/* /usr/bin/ \
&& mv pandoc-crossref /usr/bin/ \ && mv pandoc-crossref /usr/bin/ \
&& cd .. \ && cd .. \
&& rm -rf download && rm -rf download
RUN apt-get install -y \ RUN apt-get install -y python3-pygments python3-pip inkscape
git \ RUN tlmgr update --self --all
texlive-latex-recommended \ RUN tlmgr install tools ragged2e
latexmk \
texlive-xetex \
texlive-science \
texlive-pictures \
biber \
texlive-bibtex-extra \
texlive-extra-utils \
python3-pygments \
python3-pip \
inkscape
RUN python3 -m pip install --upgrade pygments
RUN rm -rf /var/lib/apt/lists/* RUN rm -rf /var/lib/apt/lists/*