forked from HoGentTIN/linux-training-hogent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
35 lines (34 loc) · 1000 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
# Dockerfile with the necessary tools to build the PDFs and mkdocs sites
# for the linux-training-hogent repository.
FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install --yes --no-install-recommends \
biber \
git \
latexmk \
lmodern \
make \
pandoc \
python3-pip \
texlive-bibtex-extra \
texlive-fonts-recommended \
texlive-lang-european \
texlive-latex-base \
texlive-latex-extra \
texlive-xetex \
wget && \
pip3 install \
mkdocs \
mkdocs-material \
pymdown-extensions \
pygments \
shyaml && \
rm -rf /var/lib/apt/lists/* && \
pip3 cache purge
# Install fonts for the HOGENT corporate style
RUN cd /tmp && \
git clone https://github.com/HoGentTIN/latex-hogent-beamer.git && \
cp -r latex-hogent-beamer/fonts/* /usr/share/fonts/ && \
rm -rf /tmp/latex-hogent-beamer
WORKDIR /app