-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
48 lines (39 loc) · 1.05 KB
/
Copy pathDockerfile
File metadata and controls
48 lines (39 loc) · 1.05 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM debian:11-slim as installer
ARG DEBIAN_FRONTEND=noninteractive
ENV HOME=/latex TEXMFHOME=/latex TEXMFVAR=/latex/texmf-var TEXMFCONFIG=/latex/texmf-config
RUN apt-get update && \
apt-get --no-install-recommends install -y \
texlive \
texlive-luatex \
gnupg \
wget \
xz-utils \
fonts-liberation \
fontconfig \
fonts-croscore \
fonts-crosextra-carlito && \
rm -rf /var/lib/apt/lists/* && \
fc-cache -fsv && \
mkdir -p /latex/texmf
RUN tlmgr init-usertree && \
tlmgr option repository ftp://tug.org/historic/systems/texlive/2020/tlnet-final && \
tlmgr update --all && \
tlmgr install \
collection-latex \
collection-luatex
RUN tlmgr install \
fontspec \
opensans \
titlesec \
xcolor \
enumitem \
arimo && \
mkdir -p /latex/tex/latex/jobapp
RUN fc-cache -fsv && \
fmtutil-user --all --no-strict && \
luaotfload-tool -u
COPY jobapp.sty /latex/tex/latex/jobapp/
RUN mktexlsr
ENV TEXMFCACHE=/tmp
WORKDIR /data
VOLUME ["/data"]