This docker image aims to be the universal Docker Image for LaTeX projects.
- Based on Ubuntu 20.04LTS
- make via build-essential
- python3 and pip3
- font-awesome support via fonts-font-awesome and texlive-fonts-extra
- gnuplot
- .dot processing via graphviz
- latexmk
- xetex
- pandoc
- minted codehighlighting via python3-pygments
- Extended TexLive via texlive, texlive-latex-extra, texlive-generic-extra and texlive-science
- German language support via texlive-lang-german
$ cd my-latex-project
$ docker run --rm -it -v$(pwd):/src -w /src tumi5/latex latexmk -pdf main.tex
$ cd my-latex-project
$ docker run --rm -it -v$(pwd):/src -w /src tumi5/latex latexmk -pdf -pvc -view=none main.tex
.gitlab-ci.yml
:
stages:
- build
build:
stage: build
image: tumi5/latex
script:
- latexmk -pdf main.tex
artifacts:
paths:
- main.pdf
Builds main.tex
and provides the generated pdf as downloadable artifact.