-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
46 lines (42 loc) · 1.47 KB
/
Dockerfile
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
FROM ubuntu:noble
RUN apt-get update \
&& apt-get install -y build-essential wget curl libfontconfig1 tzdata jq git \
&& rm -rf /var/lib/apt/lists/*
ARG TEXLIVE_MIRROR=https://mirror.ctan.org/systems/texlive/tlnet
ENV MANPATH="/usr/local/texlive/2024/texmf-dist/doc/man" \
INFOPATH="/usr/local/texlive/2024/texmf-dist/doc/info" \
PATH="${PATH}:/usr/local/texlive/2024/bin/x86_64-linux"
RUN mkdir /install-tl-unx \
&& curl -sSL \
${TEXLIVE_MIRROR}/install-tl-unx.tar.gz \
| tar -xzC /install-tl-unx --strip-components=1 \
\
&& echo "tlpdbopt_autobackup 0" >> /install-tl-unx/texlive.profile \
&& echo "tlpdbopt_install_docfiles 0" >> /install-tl-unx/texlive.profile \
&& echo "tlpdbopt_install_srcfiles 0" >> /install-tl-unx/texlive.profile \
&& echo "selected_scheme scheme-basic" >> /install-tl-unx/texlive.profile \
\
&& /install-tl-unx/install-tl \
-profile /install-tl-unx/texlive.profile \
-repository ${TEXLIVE_MIRROR} \
&& rm -rf /install-tl-unx
RUN tlmgr install --repository ${TEXLIVE_MIRROR} \
latexmk \
texcount \
luatexbase \
luainputenc \
environ \
trimspaces \
fontspec \
parskip \
xcolor \
preprint \
fontawesome5 \
titlesec \
enumitem \
etoolbox \
pgf \
tcolorbox \
tikzfill
LABEL org.opencontainers.image.source=https://github.com/kevin-secrist/resume
LABEL org.opencontainers.image.description="Basic LaTeX image for building a resume"