latex/scratch/Dockerfile

22 lines
688 B
Docker
Raw Normal View History

2020-03-27 03:25:15 +01:00
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /data
WORKDIR /data
RUN apt-get update -q \
2020-04-27 00:10:21 +02:00
&& apt-get install -qy libfontconfig1 tar perl wget \
2020-03-27 03:25:15 +01:00
&& rm -rf /var/lib/apt/lists/*
2020-03-29 18:47:03 +02:00
ARG SCHEME
2020-03-27 03:25:15 +01:00
RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \
&& mkdir /install-tl-unx \
&& tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1 \
&& rm install-tl-unx.tar.gz \
&& echo "selected_scheme scheme-${SCHEME}" >> /install-tl-unx/texlive.profile \
2020-03-27 03:25:15 +01:00
&& /install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile \
&& rm -r /install-tl-unx
2020-03-27 03:25:15 +01:00
2021-09-20 00:31:55 +02:00
ENV PATH="/usr/local/texlive/2021/bin/x86_64-linux:${PATH}"