-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
71 lines (65 loc) · 1.59 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
FROM debian:buster-slim
ENV DEBIAN_FRONTEND noninteractive
ENV PATH "/usr/local/texlive/2020/bin/x86_64-linux:${PATH}"
ENV HOME /data
WORKDIR /data
VOLUME ["/data"]
# Update system and install basic packages
RUN apt-get update -q && \
apt-get install -qy \
build-essential \
git \
libfontconfig1 \
make \
wget
# Install TexLive with scheme-basic
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 && \
echo "selected_scheme scheme-basic" >> /install-tl-unx/texlive.profile && \
/install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile && \
rm -r /install-tl-unx && \
rm install-tl-unx.tar.gz
# Install needed TeX packages
RUN tlmgr install latexmk \
biber \
anyfontsize \
babel \
babel-english \
biblatex \
colorprofiles \
csquotes \
ctablestack \
cyrillic \
etoolbox \
fontaxes \
geometry \
graphics \
graphics-cfg \
graphics-def \
hyperref \
iftex \
koma-script \
l3backend \
l3kernel \
l3packages \
latexconfig \
lm \
logreq \
luainputenc \
luatex85 \
luatexbase \
ly1 \
ms \
mweights \
oberdiek \
pdftex \
pdfx \
roboto \
tuda-ci \
urcls \
url \
xcharter \
xcolor \
xkeyval \
xmpincl