Files
LatexDocker/Dockerfile
2023-12-03 20:11:00 +00:00

26 lines
609 B
Docker

FROM debian
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Berlin
RUN apt update && apt -y install wget curl xzdec perl zip expect
WORKDIR /tmp/texlive
RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip
RUN unzip ./install-tl.zip -d install
WORKDIR /tmp/texlive/install
# expect file
RUN echo "set timeout -1 \n\
spawn $(find . -maxdepth 1 -name "install-tl-*")/install-tl \n\
expect \"Enter command:\" \n\
send -- \"i\\\\r\" \n\
expect "finished." \n\
exit" >> tl-install.expect
RUN expect -f tl-install.expect
ENV PATH="/usr/local/texlive/2023/bin/x86_64-linux:$PATH"
WORKDIR /