-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
42 lines (38 loc) · 1.31 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
FROM pandoc/ubuntu-latex:latest
# Install additional packages needed by Eisvogel
RUN apt-get update -qq && \
apt-get install -y texlive-latex-extra curl && \
tlmgr install adjustbox \
babel-german \
background \
bidi \
collectbox \
csquotes \
everypage \
filehook \
footmisc \
footnotebackref \
framed \
fvextra \
letltxmacro \
ly1 \
mdframed \
mweights \
needspace \
pagecolor \
sourcecodepro \
sourcesanspro \
titling \
ucharcat \
ulem \
unicode-math \
upquote \
xecjk \
xurl \
zref
ENTRYPOINT ["/usr/local/bin/pandoc", "--template", "eisvogel"]
# Install Eisvogel
ARG EISVOGEL_VERSION=latest
RUN curl -sL "https://github.com/Wandmalfarbe/pandoc-latex-template/releases/${EISVOGEL_VERSION}/download/Eisvogel.tar.gz" | tar -xzf - eisvogel.tex && \
mkdir -p ~/.pandoc/templates && \
mv eisvogel.tex ~/.pandoc/templates/eisvogel.latex