build-env-latex/Dockerfile

27 lines
622 B
Docker

FROM registry.hottis.de/dockerized/base-build-env:0.3.0
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
LABEL ImageName="registry.hottis.de/dockerized/build-env-latex"
LABEL AlternativeImageName="wollud1969/build-env-latex"
ARG ACROTEX_URL="http://mirrors.ctan.org/macros/latex/contrib/acrotex.zip"
ENV TEXINPUTS "~/texmf//:"
RUN \
apt-get update && \
apt-get install -y texlive-full && \
rm -rf /var/lib/apt/lists/* && \
cd /tmp && \
wget $ACROTEX_URL && \
tlmgr init-usertree && \
unzip acrotex.zip && \
mv acrotex ~/texmf && \
cd ~/texmf/acrotex && \
latex acrotex.ins && \
cd ~