Build image for TeX Live distribution
This repository contains Dockerfiles to build images for different
versions of the (full) TeX Live distribution based on the ubuntu:18.04
image. Currently, the following releases of TeX Live are supported:
latest
)Old releases are installed from the tug.org/historic archive.
All images are prebuilt on hub.docker.com and can be directly installed with docker create
.
$ docker create nelsond/texlive:2016
Note that the images are quite large (~3 GB
) since the full TeX Live
distribution is installed.
For building LaTeX documents against a specifice release of Tex
Live, you can use:
$ echo '\documentclass{article}\begin{document}Hello World\end{document}' > test.tex
$ docker run -v $(pwd):/source nelsond/texlive:2016 latexmk -pdf /source/test.tex --output-directory=/source
In case you want to create your own Dockerfile, note that/usr/local/texlive/<release>
has been added to your PATH
.
FROM nelsond/texlive:2016
RUN tlmgr update --self --all # update all packages