This container helps compiling latex sources without the need to install all latex packages on your system.
Check out my blog post.
First, add your local user to docker group:
sudo usermod -aG docker YOURUSERNAME
Pull image (from Hub):
docker pull andreformento/latex
or build:
docker build -t andreformento/latex .
cd example
# Double to process refs
../dockercmd.sh pdflatex example.tex
../dockercmd.sh pdflatex example.tex
# Or better in one go (does not start container twice)
../dockercmd.sh /bin/sh -c "pdflatex example.tex && pdflatex example.tex"
# View
./example.pdf
Use dockercmd.sh to execute any command you like inside the container. WORKDIRs match, mounted to /data inside container.
texlive-full covers most of the available packagesRemove:
docker kill latex
docker rm latex
Initialize
docker run -v "$PWD":/data --name latex -d -it andreformento/latex
docker attach latex
Content type
Image
Digest
Size
2.5 GB
Last updated
almost 9 years ago
docker pull andreformento/latex