Skip to content

Latest commit

 

History

History
74 lines (52 loc) · 3.46 KB

README.md

File metadata and controls

74 lines (52 loc) · 3.46 KB

Docker TeX Live

Build Status

Unofficial TeX Live Dockerfile for various versions. Prebuild images can be found at this Dockerhub repository.

Please notice: TeX Live <= 2023 is frozen forever according to tuc.org. You should only use it, if you need it for a specific project or template which is incompatible with newer versions.

Quickstart

After installing Docker, just run the following command inside your LaTeX workspace. It will mount the current directory to /data inside the container. This path will be used as working directory as defined in the Dockerfile.

docker run --rm -it -v ${PWD}:/data maxkratz/textlive:latest pdflatex <yourfile>.tex

If you have a Makefile defined just run the following command from your workspace:

docker run --rm -it -v ${PWD}:/data maxkratz/texlive:latest make

You can also use other compilers, e.g., lualatex:

docker run --rm -it -v ${PWD}:/data maxkratz/texlive:latest lualatex <yourfile>.tex

Versions

This Docker image is available in various versions which each represent a tag. Currently, there are the following tags published:

Tag Description
base Base image with updates and prerequesites installed
latest Newest (stable) TeX Live version available
2024 TeX Live version 2024
2024-gradle TeX Live version 2024 + OpenJDK 21 + Gradle
2024-python TeX Live version 2024 + Python 3 + pip
2023 TeX Live version 2023
2023-gradle TeX Live version 2023 + OpenJDK 21 + Gradle
2023-python TeX Live version 2023 + Python 3 + pip
2022 TeX Live version 2022 (from archive)
2022-gradle TeX Live version 2022 + OpenJDK 21 + Gradle (from archive)
2021 TeX Live version 2021 (from archive)
2020 TeX Live version 2020 (from archive)
2019 TeX Live version 2019 (from archive)
2018 TeX Live version 2018 (from archive)
2017 TeX Live version 2017 (from archive)
2016 TeX Live version 2016 (from archive)

Please notice, that the base tag does not have any TeX packages installed. It is used as a base for the other builds and builds on top of the ubuntu 24.04 image.

Dockerfiles

The Dockerfiles can be found at the Github repository sorted in folders by year.

What gets installed in this image?

The following packages are installed in this Docker image:

  • Some utility packages like wget and build essentials etc.
  • TeX Live (thats the whole point ...)

Issues & Contribution

If you find any problems, bugs or missing packages, feel free to open an issue on Github.