* added Dockerfile
This commit is contained in:
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@@ -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 /
|
||||
Reference in New Issue
Block a user