Files
..
2026-01-09 14:47:33 +01:00
2026-01-09 15:08:22 +01:00
2025-12-23 16:16:00 +01:00
2026-01-09 14:11:07 +01:00
2026-01-09 13:32:18 +01:00
2025-12-22 19:19:43 +01:00
2025-12-23 16:16:00 +01:00

latex-build

Docker resources to build a docker image to compile latex files in gitea CI

Usage

Build the docker image using

./build-image.sh your-image-name

You can then run the image using

docker run --name container-name -v /path/to/latex/build/dir/on/host:/root/data your-image-name:latest ./entrypoint.sh data file.tex false

The arguments that can be passed to the container are the following (in order):

  1. Extra arguments for latexmk (you can also use this to provide the entry file)
  2. Extra packages (alpine linux) to install in the container

To build all (i.e. both the full and default image) you can use the provided build-all.sh script.

The default image is just a base image that may or may not work with your latex setup, where the full image also allows building with pygments for e.g. minted.