-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.fedora
More file actions
28 lines (27 loc) · 1.28 KB
/
Dockerfile.fedora
File metadata and controls
28 lines (27 loc) · 1.28 KB
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
FROM fedora:latest
RUN dnf -y update && dnf install -y --setopt=tsflags=nodocs \
fig2ps graphviz inkscape make git vim nano gawk gnuplot-minimal groff time \
liberation-mono-fonts liberation-sans-fonts \
dejavu-sans-mono-fonts \
texlive-collection-plaingeneric texlive-collection-binextra \
texlive-collection-latexextra texlive-epstopdf texlive-fontools \
texlive-newtx texlive-newtxtt texlive-nimbus15 texlive-courier-scaled \
texlive-inconsolata texlive-newtxsf texlive-mdsymbol texlive-gnu-freefont && \
dnf clean all && \
mktexlsr
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\
</fontconfig>' > 09-texlive-fonts.conf && \
ln -sf /etc/fonts/conf.avail/09-texlive-fonts.conf /etc/fonts/conf.d/ && \
fc-cache -sf
WORKDIR /opt
RUN curl https://gitlab.com/latexpand/latexpand/-/archive/v1.3/latexpand-v1.3.tar.gz -o - | tar --no-same-owner --no-same-permissions -xzf - && \
sed -i -e 's/@LATEXPAND_VERSION@/v1.3/' latexpand-*/latexpand && \
cp latexpand-*/latexpand /usr/local/bin
VOLUME /work
WORKDIR /work
CMD /bin/bash