docker-texlive/Dockerfile

24 lines
947 B
Docker
Raw Permalink Normal View History

2024-09-26 12:19:43 +00:00
FROM ubuntu:24.04
2024-09-26 12:07:13 +00:00
2024-09-26 12:19:43 +00:00
RUN apt-get update
RUN apt-get install -y wget perl
2024-09-26 12:07:13 +00:00
ENV TEXLIVE_INSTALL_TEXMFLOCAL=/usr/local/texlive/texmf-local
ENV TEXLIVE_INSTALL_TEXMFSYSVAR=/usr/local/texlive/texmf-var
ENV TEXLIVE_INSTALL_TEXMFSYSCONFIG=/usr/local/texlive/texmf-config
2024-09-26 12:07:13 +00:00
ENV TEXLIVE_INSTALL_TEXMFHOME=~/.texlive/texmf
ENV TEXLIVE_INSTALL_TEXMFVAR=~/.texlive/texmf-var
ENV TEXLIVE_INSTALL_TEXMFCONFIG=~/.texlive/texmf-config
2024-09-26 12:45:29 +00:00
WORKDIR /tmp
2024-09-26 12:45:29 +00:00
RUN wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
RUN tar -xvzf install-tl-unx.tar.gz
RUN sh -c 'cd install-tl-* && perl ./install-tl --no-interaction --scheme=minimal --profile texlive.profile --no-doc-install --no-src-install --texdir=/usr/local/texlive'
2024-09-26 12:45:29 +00:00
ENV PATH="/usr/local/texlive/bin/x86_64-linux:${PATH}"
RUN tlmgr init-usertree
2024-09-26 12:45:29 +00:00
# From TLMGR
RUN tlmgr install enumitem fancyhdr ragged2e xifthen xstring ifmtarg fontawesome5 setspace roboto sourcesanspro tcolorbox parskip tikzfill