The texlive distribution packaged as a Docker image!
Use this image to compile latex sources without installing all latex packages on your system.
Simply cd into your sources path and run pdflatex in the container mounting
current directory as a volume:
$ docker run --rm -it -v $(pwd):/sources cristiangreco/pdflatex pdflatex doc.texOutput file doc.pdf will be placed in your sources directory.
If you need to make multiple passes just run pdflatex multiple times inside
the container:
$ docker run --rm -it -v $(pwd):/sources cristiangreco/pdflatex /bin/sh -c "pdflatex doc.tex && pdflatex doc.tex"You can find a number of different images on Docker
Hub
which include pdflatex.
This image is based on Debian and aims to be as small as possible while still providing the full latex distribution.
Released under the MIT license.