Set up
All checks were successful
Create and publish container / build_container (push) Successful in 5s

This commit is contained in:
2025-12-22 17:54:23 +01:00
commit 15c34ae2c0
6 changed files with 86 additions and 0 deletions

16
README.md Normal file
View File

@@ -0,0 +1,16 @@
# 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
```
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