-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile
36 lines (31 loc) · 871 Bytes
/
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
ARG pandoc_version="2.10"
FROM pandoc/latex:${pandoc_version}
ARG pandoc_version
RUN tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet \
&& tlmgr install adjustbox \
babel-japanese \
background \
collectbox \
everypage \
footmisc \
footnotebackref \
fvextra \
luatexja \
ly1 \
mdframed \
mweights \
needspace \
pagecolor \
sourcecodepro \
sourcesanspro \
titling \
zref \
haranoaji \
ipaex
ARG eisvogel_version="1.5.0"
RUN mkdir -p /root/.pandoc/templates \
&& wget https://raw.githubusercontent.com/Wandmalfarbe/pandoc-latex-template/v${eisvogel_version}/eisvogel.tex \
-O /root/.pandoc/templates/eisvogel.latex
RUN mkdir -p /root/.pandoc/defaults
COPY default.yaml /root/.pandoc/defaults/default.yaml
ENTRYPOINT [ "/usr/local/bin/pandoc", "-d", "default" ]