Skip to content

Latest commit

 

History

History
68 lines (43 loc) · 2.07 KB

README.md

File metadata and controls

68 lines (43 loc) · 2.07 KB

(Yet another) Texlive Docker image

A Docker image based on Debian (Bookworm) or Alpine (3.20) with the latest vanilla Texlive distribution (2024).

This image is used as a based for powering Latex on HTTP.

Texlive

The scheme-full is used. See texlive.profile for the configuration used.

Usage example (Debian-based)

Based on this image, you can then install CTAN packages using tlmgr.

FROM yoant/docker-texlive

tlmgr install babel-spanish

Usage example (Alpine-based)

FROM yoant/docker-texlive:alpine

tlmgr install babel-spanish

Reduce image final size

We choose to include tlmgr dependencies (perl and wget, also GPG) in the image, so we can install CTAN packages right away. You can reduce your final image size by removing them at the end of your own build:

Debian-based

RUN apt-get remove --purge -y \
    wget \
    libswitch-perl \
    && apt-get autoremove --purge -y

Alpine-based

RUN apk del perl wget tar xz

TODO

  • create variations, using tags
    • scheme used
    • TexLive distribution used

Credits & contributions

Image by Yoan Tournade [email protected]. PRs and feedbacks welcomed!

Y