forked from andygrunwald/FOM-LaTeX-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (33 loc) · 1.06 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
# Dockerfile for https://github.com/andygrunwald/FOM-LaTeX-Template
#
# Example usage:
# docker run -it --rm -v ${PWD}:/data andygrunwald/fom-latex-template
# or use
# docker-compose up
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
RUN echo 'deb [trusted=yes] http://ppa.launchpad.net/jonathonf/texlive-2018/ubuntu bionic main' > /etc/apt/sources.list.d/texlive.list \
&& echo 'deb-src [trusted=yes] http://ppa.launchpad.net/jonathonf/texlive-2018/ubuntu bionic main' >> /etc/apt/sources.list.d/texlive.list \
&& apt-get update \
&& apt-get install -y \
wget \
texlive-latex-recommended \
texlive-latex-extra \
texlive-fonts-recommended \
texlive-bibtex-extra \
texlive-lang-german \
texlive-generic-extra \
texlive-luatex \
biber \
xz-utils \
python \
python-pygments \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
# This can get removed at some point due to docker-compose
VOLUME ["/data"]
WORKDIR /data
COPY ./compile.sh /compile.sh
RUN chmod +x /compile.sh
ENTRYPOINT ["./compile.sh"]
CMD lualatex --version && biber --version