Docker container with full latex texlive distribution based on Debian 8 (jessie). Fork of https://github.com/schickling/dockerfiles/tree/master/latex
$ docker run --rm -it -v $(pwd):/source joeiner/latex-texlive
Mount your local source folder to the container and run it inside the container.
From inside the container:
$ pdflatex my-document.tex
From the host OS:
$ docker run --rm -it -v $(pwd):/source joeiner/latex-texlive pdflatex my-document.tex
From inside the container:
$ xelatex my-document.xtx
From the host OS:
$ docker run --rm -it -v $(pwd):/source joeiner/latex-texlive xelatex my-document.tex
From inside the container:
$ ./my-build-script.sh
From the host OS:
$ docker run --rm -it -v $(pwd):/source joeiner/latex-texlive ./my-build-script.sh