-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile.base
77 lines (71 loc) · 1.59 KB
/
Dockerfile.base
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# syntax=docker/dockerfile:1.4
FROM debian:bookworm-slim
# This Dockerfile is used by GitHub Actions to build the
# ghcr.io/digineo/texd:base image on a regular basis.
#
# It leverages buildkit to generate an AMD64 and ARM64 image.
#
# For details, see workflows/base.yml.
ENV LC_ALL C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
RUN <<-eot
set -ex
cat <<-'DPKG' >/etc/dpkg/dpkg.cfg.d/texd-minimal
path-exclude=/usr/share/man/*
path-exclude=/usr/share/doc/*
path-exclude=/usr/share/texmf/doc/*
path-exclude=/usr/share/icons/*
path-exclude=/usr/lib/ruby/*/bundler/man/*
DPKG
apt-get update --quiet
apt-get full-upgrade --yes
apt-get install --yes --no-install-recommends \
biber \
chktex \
cm-super \
context \
dvidvi \
dvipng \
feynmf \
fonts-freefont-ttf \
fonts-liberation \
fonts-texgyre \
fragmaster \
ghostscript \
gnuplot-nox \
imagemagick \
latexmk \
lmodern \
psutils \
purifyeps \
tex-gyre \
texlive \
texlive-base \
texlive-bibtex-extra \
texlive-binaries \
texlive-extra-utils \
texlive-font-utils \
texlive-fonts-extra \
texlive-fonts-extra-links \
texlive-fonts-recommended \
texlive-formats-extra \
texlive-games \
texlive-humanities \
texlive-lang-english \
texlive-lang-german \
texlive-lang-greek \
texlive-latex-base \
texlive-latex-extra \
texlive-latex-recommended \
texlive-luatex \
texlive-metapost \
texlive-music \
texlive-pictures \
texlive-plain-generic \
texlive-pstricks \
texlive-publishers \
texlive-science \
texlive-xetex
apt-get autoremove --yes
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
eot