-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
39 lines (34 loc) · 1.23 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# hhgym/docker-texlive
#
# This is an image with a full TeX Live installation and several
# fonts and tools (gnuplot, java for arara).
# Source: http://github.com/hhgym/docker-texlive/
# License: GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007
# The license applies to the way the image is built, while the
# software components inside the image are under the respective
# licenses chosen by their respective copyright holders.
#
# tex package's version: 2021-06-27
#
FROM ubuntu:20.04
MAINTAINER Marcel Pietschmann <[email protected]>
ENV DEBIAN_FRONTEND=noninteractive
COPY texlive.profile /
# install utilities
RUN apt-get clean && \
apt-get update && \
apt-get autoclean -y && \
apt-get autoremove -y && \
apt-get update && \
apt-get install -y apt-utils && \
apt-get install -f -y curl wget gnuplot default-jre
# install TeX Live
RUN curl -sL http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz | tar zxf - && \
mv install-tl-20* install-tl && \
cd install-tl && \
echo "selected_scheme scheme-full" > texlive.profile && \
chmod +x install-tl && \
./install-tl --profile /texlive.profile
ENV PATH /usr/local/texlive/2021/bin/x86_64-linux:$PATH
CMD ["tlmgr", "--version"]