2023-07-03 15:35:01 +00:00
|
|
|
FROM texlive/texlive:latest
|
2020-05-18 22:30:55 +00:00
|
|
|
|
2023-07-03 15:35:01 +00:00
|
|
|
ARG PANDOC_VERSION=3.1.4
|
|
|
|
ARG PANDOC_CROSSREF_VERSION=v0.3.16.0b
|
2021-02-13 16:15:22 +00:00
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
2020-05-18 22:30:55 +00:00
|
|
|
|
2023-06-05 06:17:11 +00:00
|
|
|
RUN apt-get clean
|
2020-05-19 15:48:37 +00:00
|
|
|
RUN apt-get update \
|
2021-10-14 14:22:57 +00:00
|
|
|
&& apt-get install -y wget xz-utils
|
|
|
|
RUN mkdir download \
|
|
|
|
&& cd download
|
|
|
|
RUN wget --quiet https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz -O pandoc.tar.gz
|
|
|
|
RUN wget --quiet https://github.com/lierdakil/pandoc-crossref/releases/download/${PANDOC_CROSSREF_VERSION}/pandoc-crossref-Linux.tar.xz -O pandoc-crossref.tar.xz
|
|
|
|
RUN ls -l \
|
2020-05-19 16:45:42 +00:00
|
|
|
&& tar xf pandoc.tar.gz \
|
|
|
|
&& tar xf pandoc-crossref.tar.xz \
|
2021-10-14 14:22:57 +00:00
|
|
|
&& ls -l
|
|
|
|
RUN mv pandoc-${PANDOC_VERSION}/bin/* /usr/bin/ \
|
2020-05-19 14:46:27 +00:00
|
|
|
&& mv pandoc-crossref /usr/bin/ \
|
|
|
|
&& cd .. \
|
2021-10-14 14:22:57 +00:00
|
|
|
&& rm -rf download
|
2023-07-03 15:35:01 +00:00
|
|
|
RUN apt-get install -y python3-pygments python3-pip inkscape
|
|
|
|
RUN tlmgr update --self --all
|
|
|
|
RUN tlmgr install tools ragged2e
|
2021-10-14 14:22:57 +00:00
|
|
|
RUN rm -rf /var/lib/apt/lists/*
|