-
Notifications
You must be signed in to change notification settings - Fork 191
/
Dockerfile.fedora
59 lines (54 loc) · 1.29 KB
/
Dockerfile.fedora
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
FROM fedora:34
RUN dnf install -y \
git \
graphviz \
latexmk \
make \
potrace \
texlive-adjustbox \
texlive-blindtext \
texlive-collection-metapost \
texlive-framed \
texlive-context \
texlive-ctablestack \
texlive-glossaries \
texlive-memoir \
texlive-microtype \
texlive-polyglossia \
texlive-sourcecodepro \
texlive-sourceserifpro \
texlive-wrapfig \
texlive-standalone \
texlive-capt-of \
texlive-cmap \
texlive-ec \
texlive-fncychap \
texlive-tabulary \
texlive-parskip \
texlive-needspace \
texlive-amscls \
texlive-helvetic \
texlive-anyfontsize \
texlive-gnu-freefont \
texlive-dvisvgm \
texlive-xindy \
texlive-idxlayout \
texlive-upquote \
pdf2svg \
python3-sphinx \
python3-sphinx-intl \
python3-sphinxcontrib-bibtex \
python3-sphinxcontrib-rsvgconverter \
ghostscript && \
chmod +x $(readlink -f /usr/bin/mptopdf)
RUN useradd -u 1001 runner
# setup texlive to handle having no home directory
ENV TEXMFVAR /tmp/texmf-var
ENV TEXMFCACHE /tmp/texmf-cache
# Add Tini
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]
USER runner
WORKDIR /repo