-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.fedora-minimal
113 lines (112 loc) · 3.06 KB
/
Dockerfile.fedora-minimal
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
ARG rel=latest
FROM fedora:$rel
RUN dnf -y update \
&& dnf install -y --setopt=tsflags=nodocs --setopt=install_weak_deps=False --best \
transfig \
graphviz \
inkscape \
librsvg2-tools \
make \
git \
gnuplot-minimal \
time \
file \
findutils \
diffutils \
liberation-mono-fonts \
liberation-sans-fonts \
dejavu-sans-mono-fonts \
dejavu-sans-fonts \
texlive-collection-latexrecommended \
texlive-dvips \
texlive-epstopdf \
texlive-fontools \
texlive-newtx \
texlive-newtxtt \
texlive-nimbus15 \
texlive-courier-scaled \
texlive-inconsolata \
texlive-newtxsf \
texlive-mdsymbol \
texlive-tex-gyre \
texlive-txfonts \
texlive-gnu-freefont \
texlive-arydshln \
texlive-braket \
texlive-cleveref \
texlive-datatool \
texlive-draftwatermark \
texlive-ellipsis \
texlive-enumitem \
texlive-epigraph \
texlive-fmtcount \
texlive-fontaxes \
texlive-footmisc \
texlive-footnotebackref \
texlive-forloop \
texlive-fvextra \
texlive-glossaries \
texlive-glossaries-extra \
texlive-idxlayout \
texlive-mfirstuc \
texlive-multirow \
texlive-ncctools \
texlive-nextpage \
texlive-nowidow \
texlive-libertine \
texlive-listofitems \
texlive-noindentafter \
texlive-parnotes \
texlive-readarray \
texlive-silence \
texlive-siunitx \
texlive-splitindex \
texlive-tcolorbox \
texlive-threeparttable \
texlive-tocbibind \
texlive-titlesec \
texlive-upquote \
texlive-varwidth \
texlive-verbatimbox \
texlive-was \
texlive-xfor \
texlive-xpatch \
texlive-xstring \
texlive-a2ping \
texlive-pdfcrop \
texlive-changepage \
texlive-environ \
texlive-placeins \
texlive-xetex \
texlive-realscripts \
texlive-luacolor \
texlive-lua-uni-algos \
texlive-stix2-otf \
texlive-xits \
texlive-libertinus-otf \
&& dnf install -y --setopt=tsflags=nodocs latexmk \
&& dnf clean all \
&& mktexlsr
# f38 and later need texlive-gensymb and texlive-tikzfill as well
RUN if grep -E -q -e 'Fedora Linux (3[89]|4[0-9])' /etc/os-release ; then \
dnf update -y \
&& dnf install -y --setopt=tsflags=nodocs --setopt=install_weak_deps=False --best \
texlive-gensymb \
texlive-tikzfill \
&& dnf clean all \
&& mktexlsr ; \
fi
COPY steel-city-comic.regular.ttf /usr/local/share/fonts/
RUN mkdir -p /etc/fonts/conf.avail \
&& cd /etc/fonts/conf.avail \
&& echo $'<?xml version="1.0"?>\n\
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">\n\
<fontconfig>\n\
<dir>/usr/share/texlive/texmf-dist/fonts/opentype</dir>\n\
<dir>/usr/share/texlive/texmf-dist/fonts/truetype</dir>\n\
</fontconfig>' > 09-texlive-fonts.conf && \
ln -sf /etc/fonts/conf.avail/09-texlive-fonts.conf /etc/fonts/conf.d/ \
&& fc-cache -sf
WORKDIR /opt
WORKDIR /work
CMD /bin/bash