Skip to content

joshfinnie/latex-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LaTeX Docker

βœ… Features

  • Based on alpine:3.20
  • Uses tectonics 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

πŸ“ 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