Initial commit

This commit is contained in:
Jack-Benny Persson 2023-10-29 12:09:26 +01:00
commit 67aa132f1d
2 changed files with 21 additions and 0 deletions

20
Dockerfile Normal file
View File

@ -0,0 +1,20 @@
FROM ubuntu:22.04
ENV TZ=Europe/Stockholm \
DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -y \
tzdata texlive-latex-extra texlive-fonts-extra texlive-fonts-recommended \
texlive-science texlive-xetex texlive-bibtex-extra texlive-lang-european \
make wget xz-utils && apt-get clean -y && \
rm -rf /usr/share/doc/ && rm -rf /usr/share/man/ && \
wget https://github.com/jgm/pandoc/releases/download/2.9.2.1/pandoc-2.9.2.1-1-amd64.deb && \
apt install /pandoc-2.9.2.1-1-amd64.deb && rm pandoc-2.9.2.1-1-amd64.deb && \
wget https://github.com/lierdakil/pandoc-crossref/releases/download/v0.3.6.3/pandoc-crossref-Linux-2.9.2.1.tar.xz && \
unxz pandoc-crossref-Linux-2.9.2.1.tar.xz && tar xvf pandoc-crossref-Linux-2.9.2.1.tar && mv pandoc-crossref /usr/bin/pandoc-crossref && \
rm pandoc-crossref-Linux-2.9.2.1.tar pandoc-crossref.1 && rm -rf /var/cache/apt/archives
ARG UID=1000
ARG GID=1000
RUN groupadd -g "${GID}" pandoc && useradd --create-home -u "${UID}" -g "${GID}" pandoc
USER pandoc
WORKDIR /data
ENTRYPOINT /bin/bash

1
README Normal file
View File

@ -0,0 +1 @@
A Docker with Pandoc, with extra everything, including pandoc-crossref.