latex-runner/Dockerfile

25 lines
943 B
Docker

FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
ARG tikzuml_version=1.0
ARG tikzuml_reldate=2016-03-29
RUN apt-get update && \
apt-get -y install texlive-latex-extra \
texlive-fonts-extra \
texlive-bibtex-extra \
texlive-lang-english \
texlive-lang-french \
texlive-science \
latexmk \
biber \
python3 \
python3-pygments \
curl
RUN mkdir -p /usr/share/texlive/texmf-dist/tex/latex/tikz-uml && \
curl -L http://perso.ensta-paristech.fr/~kielbasi/tikzuml/var/files/src/tikzuml-v${tikzuml_version}-${tikzuml_reldate}.tbz | tar jxv --strip-components=1 -C /usr/share/texlive/texmf-dist/tex/latex/tikz-uml tikzuml-v${tikzuml_version}-${tikzuml_reldate}/tikz-uml.sty && \
texhash
WORKDIR /workdir