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):
- Extra arguments for
latexmk(you can also use this to provide the entry file) - 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.