Skip to content

joshfinnie/latex-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaTeX Docker

This Docker image provides a lightweight environment for compiling LaTeX documents using latexmk, which handles multiple compilation passes, bibliographies, and error recovery automatically.

✅ Features

  • Based on debian:bullseye-slim
  • Uses latexmk for simplified and reliable LaTeX builds
  • Supports PDF generation out of the box
  • Minimal and clean console output

🛠️ Build the Image

docker build -t latex-resume .

🚀 Usage

To compile a LaTeX file (e.g., report.tex):

docker run --rm -v "$PWD:/data" latex-resume sample.tex
  • --rm cleans 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

📦 What's Inside

  • latexmk
  • biber

TeX Live packages for:

  • pdflatex
  • Bibliographies
  • Fonts
  • Math
  • Graphics
  • Language support

📝 Example Files

You can test the setup with a simple sample.tex file in the same directory.

About

A docker file with Latex installed to convert .tex documents to .pdf.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published