A latex compiler in a docker container, so the actual host stays clear of all the (temporary) necessary packages. As docker is cross-platform, so it this latex compiler.
It always compiles the pdf, no matter if everything is alreay up-to-date.
There are two variables that can be adjusted:
textype: Can either be pdf (->pdflatex, default) or xelatexfilename: Must match the main .tex-filename. Default is main.texSo to compile a main.tex with pdflatex it is sufficient to run docker run --rm -it -v ${PWD}:/tex tillhoff/latex.
For additional arguments like f.e.
docker run --rm -it -v ${PWD}:/tex -e textype=xelatex tillhoff/latex.docker run --rm -it -v ${PWD}:/tex -e filename=main.tex tillhoff/latex.Content type
Image
Digest
Size
662.8 MB
Last updated
over 5 years ago
docker pull tillhoff/latex