Files
docker/latex/README.md
2025-12-23 07:20:39 +00:00

17 lines
568 B
Markdown

# latex-build
Docker resources to build a docker image to compile latex files in gitea CI
## Usage
Build the docker image using
```bash
./build-image.sh your-image-name
```
You can then run the image using
```bash
docker run --name container-name -v /path/to/latex/build/dir/on/host:/root/data your-image-name:latest ./entrypoint.sh data
```
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