All checks were successful
Create and publish container / build_container (push) Successful in 7s
17 lines
547 B
Markdown
17 lines
547 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
|
|
```
|
|
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
|