-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
54 lines (50 loc) · 1022 Bytes
/
Dockerfile
File metadata and controls
54 lines (50 loc) · 1022 Bytes
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
FROM rocker/verse:4.1.1
# System dependencies
RUN apt-get update && apt-get install -y \
python3-pip
# Install Python dependencies
RUN pip3 install \
jupytext
# Install LaTeX packages
RUN tlmgr install amsmath \
latex-amsmath-dev \
fontspec \
tipa \
unicode-math \
xunicode \
kvoptions \
ltxcmds \
kvsetkeys \
etoolbox \
xcolor \
auxhook \
bigintcalc \
bitset \
etexcmds \
gettitlestring \
hycolor \
hyperref \
intcalc \
kvdefinekeys \
letltxmacro \
pdfescape \
refcount \
rerunfilecheck \
stringenc \
uniquecounter \
zapfding \
pdftexcmds \
infwarerr \
fancyvrb \
framed \
booktabs \
mdwtools \
grffile \
caption \
sourcecodepro \
amscls \
natbib
# increase the ImageMagick resource limits
RUN sed -i 's/256MiB/4GiB/' /etc/ImageMagick-6/policy.xml
RUN sed -i 's/512MiB/4GiB/' /etc/ImageMagick-6/policy.xml
RUN sed -i 's/1GiB/4GiB/' /etc/ImageMagick-6/policy.xml