-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
63 lines (58 loc) · 1.19 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
# syntax=docker/dockerfile:1
FROM docker.io/pandoc/extra:edge
ENV TERM=xterm
RUN apk add --no-cache \
bash \
curl \
git \
inkscape \
make \
ncurses \
perl \
python3 \
python3-dev \
py3-pip \
py3-setuptools \
py3-wheel \
rsync \
unzip \
wget \
zip \
&& rm -rf /var/cache/apk/*
RUN tlmgr update --self \
&& tlmgr install \
catchfile \
context \
datetime2 \
dejavu \
emoji \
eso-pic \
koma-script \
lastpage \
lineno \
minted \
moresize \
newunicodechar \
noto-emoji \
pgf \
pgfopts \
plex \
reledmac \
sectsty \
sourcecodepro \
svg \
titlesec \
tocloft \
ucs \
xargs \
xcolor-material \
xstring \
&& luaotfload-tool --update \
&& chmod o+w /opt/texlive/texdir/texmf-var
COPY fonts/Figtree,IBM_Plex_Mono,IBM_Plex_Sans.zip /tmp
RUN mkdir -p /tmp/fonts \
&& mkdir -p /usr/local/share/fonts \
&& unzip /tmp/Figtree,IBM_Plex_Mono,IBM_Plex_Sans.zip -d /tmp/fonts \
&& find /tmp/fonts -name '*.ttf' -exec cp {} /usr/local/share/fonts \; \
&& fc-cache -fv
ENTRYPOINT ["pandoc"]