build-env-latex/Dockerfile
Wolfgang Hottgenroth 1669151c53 switch to bullseye
2021-12-17 09:51:44 +01:00

34 lines
895 B
Docker

FROM registry.hottis.de/dockerized/base-build-env:1.5.2-bullseye
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"
ARG LASTPAGE_URL="http://mirrors.ctan.org/macros/latex/contrib/lastpage.zip"
ENV TEXINPUTS "~/texmf//:"
RUN \
apt update && \
apt install -y texlive-full && \
apt install -y doxygen && \
apt install -y doxygen-latex && \
rm -rf /var/lib/apt/lists/* && \
cd /tmp && \
wget $ACROTEX_URL && \
wget $LASTPAGE_URL && \
tlmgr init-usertree && \
unzip acrotex.zip && \
unzip lastpage.zip && \
mv acrotex ~/texmf && \
mv lastpage ~/texmf && \
cd ~/texmf/acrotex && \
latex acrotex.ins && \
cd ~/texmf/lastpage && \
tex lastpage.dtx && \
cd ~