Customized TeX Live installation; with fonts!
324
This is the lighter companion to latex-w-fonts, using 2 GB less space.
Size reduction is achieved by not installing the full TeX Live distribution (texlive-full) but only the base version (texlive-base) with individual additions. (See notes on lightness!)
As in latex-w-fonts, free fonts from to places are installed:
Your usual local LaTeX call needs to be prefixed to target the docker image. To handle user permissions correctly, I use
docker run --rm -i --user="$(id -u):$(id -g)" --net=none -v $PWD:/data andih/latex-w-fonts-light:latest latexmk -xelatex -shell-escape FILE.TEX
(The command is from blang/latex-docker, who wrapped it into a handy shell script, dockercmd.sh.)
The reduction in size with respect to to latex-w-fonts comes with a price: Some packages might not be installed. For example are basically all language packages missing.
If you find something missing, the reasonable solution is to use latx-w-fonts-light as a base (FROM) and expand it for your own needs. Let me know if you do this; I'm very much curious what you find is missing.
Content type
Image
Digest
Size
1.6 GB
Last updated
over 6 years ago
docker pull andih/latex-w-fonts-light