Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.2 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.2 KB

pdflatex docker image

Docker hub

The texlive distribution packaged as a Docker image!

Use this image to compile latex sources without installing all latex packages on your system.

Basic usage

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.tex

Output file doc.pdf will be placed in your sources directory.

Multiple passes

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"

Yet another docker image for pdflatex

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.

License

Released under the MIT license.