LaTeX docker image for compiling latex files. Details of the package can be found on http://packages.ubuntu.com/xenial/texlive-full.
- Ubuntu:16.04
- textlive-full(2015.20160320-1)
- gnuplot
- Build image
$ docker pull soleo/latex
or
$ docker build soleo/latex .
- Compile LaTeX
$ docker run --rm -v `pwd`:/mnt/src soleo/latex example.tex
- Shortcut function for bash
docker-latex() { docker run -v $PWD:/mnt/src --rm soleo/latex:latest $@; return $?; }
add the function to your .bash_rc or .bash_profile
Feel free to fork it or send me PR to improve it.