- Based on
alpine:3.20 - Uses
tectonicsfor simplified and reliable LaTeX builds - Supports PDF generation out of the box
- Minimal and clean console output
docker build -t latex-resume .To compile a LaTeX file (e.g., report.tex):
docker run --rm -v "$PWD:/data" latex-resume sample.tex--rmcleans up the container after it runs-v "$PWD:/data"mounts the current working directory into the container- The default working directory inside the container is /data
If you're compiling a file with a different name:
docker run --rm -v "$PWD:/data" latex-resume my_report.tex- Tectonics
- Many popular packages pre-cached
You can test the setup with a simple sample.tex file in the same directory.