forked from andygrunwald/FOM-LaTeX-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
36 lines (31 loc) · 810 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
# 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:20.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& apt-get install -y \
wget \
texlive-latex-recommended \
texlive-latex-extra \
texlive-fonts-recommended \
texlive-bibtex-extra \
texlive-lang-german \
texlive-plain-generic \
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