This dockerimage is suppose to build your latex project without installing any dependencies. It is quite big because it simply contains everything there is. Should work out of the box.
It comes in two flavors:
- Basic: https://hub.docker.com/r/mkunze/texlive-basic
- Full: https://hub.docker.com/r/mkunze/texlive-full
Simply change into the directory where your main.tex
file is located and execute:
docker run -v `pwd`:/data \
mkunze/texlive-basic:2020.19 \
pdflatex --admin main.tex
or
docker run -v `pwd`:/data \
mkunze/texlive-full:2020.19 \
pdflatex --admin main.tex
Each week a new image is being build. Version number is year.calendarweek
.
You can also use it in your gitlab .gitlab-ci.yml
pipeline if needed:
job-name:
stage: stage-name
image: mkunze/texlive-[basic|full]:2020.19
script:
- pdflatex main.tex