34 lines
895 B
Docker
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 ~
|
|
|
|
|
|
|
|
|