From 3e04edd9ef33bdcba3ce32a22cd5da4ca9510867 Mon Sep 17 00:00:00 2001 From: Michael Landgraf Date: Wed, 24 Mar 2021 03:13:15 +0100 Subject: [PATCH] * added Dockerfile --- Dockerfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c2c6fc1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,26 @@ +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/2020/bin/x86_64-linux:$PATH" + +WORKDIR / \ No newline at end of file