2021-04-02 12:34:25 +00:00
|
|
|
FROM debian:buster-slim
|
2020-05-18 22:30:55 +00:00
|
|
|
|
2021-02-13 16:15:22 +00:00
|
|
|
ARG PANDOC_VERSION=2.11.4
|
|
|
|
ARG PANDOC_CROSSREF_VERSION=v0.3.9.1
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
2020-05-18 22:30:55 +00:00
|
|
|
|
2020-05-19 15:48:37 +00:00
|
|
|
RUN apt-get update \
|
2020-05-19 16:45:42 +00:00
|
|
|
&& apt-get install -y wget xz-utils \
|
2020-05-19 14:46:27 +00:00
|
|
|
&& mkdir download \
|
|
|
|
&& cd download \
|
2020-05-19 16:18:47 +00:00
|
|
|
&& wget --quiet https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz -O pandoc.tar.gz \
|
2021-02-13 16:15:22 +00:00
|
|
|
&& wget --quiet https://github.com/lierdakil/pandoc-crossref/releases/download/${PANDOC_CROSSREF_VERSION}/pandoc-crossref-Linux.tar.xz -O pandoc-crossref.tar.xz \
|
2020-05-19 16:13:47 +00:00
|
|
|
&& ls -l \
|
2020-05-19 16:45:42 +00:00
|
|
|
&& tar xf pandoc.tar.gz \
|
|
|
|
&& tar xf pandoc-crossref.tar.xz \
|
2020-05-19 16:13:47 +00:00
|
|
|
&& ls -l \
|
2020-05-19 16:00:55 +00:00
|
|
|
&& mv pandoc-${PANDOC_VERSION}/bin/* /usr/bin/ \
|
2020-05-19 14:46:27 +00:00
|
|
|
&& mv pandoc-crossref /usr/bin/ \
|
|
|
|
&& cd .. \
|
|
|
|
&& rm -rf download \
|
2020-05-19 15:36:42 +00:00
|
|
|
&& apt-get install -y \
|
|
|
|
git \
|
|
|
|
texlive-full \
|
|
|
|
python-pygments \
|
2021-04-02 13:07:27 +00:00
|
|
|
python3-pygments \
|
2020-05-19 14:46:27 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|