2020-02-23 16:51:36 +00:00
|
|
|
FROM pandoc/latex
|
|
|
|
|
2020-02-27 18:33:02 +00:00
|
|
|
RUN tlmgr update --self
|
|
|
|
|
2020-02-23 16:51:36 +00:00
|
|
|
RUN apk --no-cache add make
|
|
|
|
|
|
|
|
WORKDIR /.local/share/pandoc/templates
|
2020-02-27 20:51:01 +00:00
|
|
|
RUN wget https://git.norangeb.it/norangebit/pancv/raw/branch/master/pancv.tex \
|
2020-02-23 16:51:36 +00:00
|
|
|
-O pancv.latex
|
|
|
|
|
2020-07-06 20:07:04 +00:00
|
|
|
WORKDIR /.local/share/pandoc/filters
|
|
|
|
RUN wget https://github.com/lierdakil/pandoc-crossref/releases/download/v0.3.6.4/pandoc-crossref-Linux-2.9.2.1.tar.xz
|
|
|
|
RUN tar -xf pandoc-crossref-Linux-2.9.2.1.tar.xz
|
|
|
|
RUN rm pandoc-crossref-Linux-2.9.2.1.tar.xz & rm pandoc-crossref.1
|
|
|
|
|
2020-02-26 19:51:31 +00:00
|
|
|
# drone compatibility
|
2020-02-24 17:59:28 +00:00
|
|
|
WORKDIR /root/.pandoc/templates
|
2020-02-26 19:51:31 +00:00
|
|
|
RUN cp /.local/share/pandoc/templates/*.latex /root/.pandoc/templates
|
2020-07-06 20:07:04 +00:00
|
|
|
WORKDIR /root/.pandoc/filters
|
|
|
|
RUN cp /.local/share/pandoc/filters/pandoc-crossref /root/.pandoc/filters
|
2020-02-24 17:59:28 +00:00
|
|
|
|
2020-02-26 19:51:31 +00:00
|
|
|
# moderncv
|
|
|
|
RUN tlmgr install moderncv \
|
2020-02-23 16:51:36 +00:00
|
|
|
ifmtarg \
|
2020-02-26 17:54:08 +00:00
|
|
|
fontawesome \
|
2020-02-27 20:51:01 +00:00
|
|
|
marvosym \
|
2020-11-09 17:14:14 +00:00
|
|
|
xstring \
|
2020-02-23 16:51:36 +00:00
|
|
|
|| exit 1
|
|
|
|
|
2020-02-27 18:33:02 +00:00
|
|
|
# europasscv
|
|
|
|
RUN tlmgr install xifthen \
|
|
|
|
europasscv \
|
|
|
|
soul \
|
|
|
|
enumitem \
|
|
|
|
substr \
|
|
|
|
lastpage \
|
|
|
|
helvetic \
|
|
|
|
|| exit 1
|
|
|
|
|
2020-02-23 16:51:36 +00:00
|
|
|
WORKDIR /data
|