forked from diefida/plantilla_tfg_eii_uva_latex
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
34 lines (26 loc) · 857 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
FROM haskell
# will ease up the update process
# updating this env variable will trigger the automatic build of the Docker image
ENV PANDOC_VERSION "1.17.1"
# install pandoc
RUN cabal update && cabal install pandoc-${PANDOC_VERSION}
# install latex packages
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends \
texlive-latex-base \
texlive-xetex latex-xcolor \
texlive-math-extra \
texlive-latex-extra \
texlive-fonts-extra \
texlive-bibtex-extra \
texlive-lang-spanish \
texlive-generic-extra \
fontconfig \
curl python
RUN curl https://bootstrap.pypa.io/get-pip.py > get-pip.py \
&& python get-pip.py
RUN cabal update && cabal install pandoc-citeproc
RUN pip install MarkdownPP
RUN apt-get install -y --no-install-recommends biber
COPY ./compile.sh /
ENTRYPOINT ["/compile.sh"]