-
-
Notifications
You must be signed in to change notification settings - Fork 201
/
Dockerfile
40 lines (32 loc) · 821 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
37
38
39
40
# 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:24.04
# hadolint ignore=DL3008
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 \
python3 \
python3-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"]
# CMD ["biber" "--version"]