Set up
All checks were successful
Create and publish container / build_container (push) Successful in 5s
All checks were successful
Create and publish container / build_container (push) Successful in 5s
This commit is contained in:
16
README.md
Normal file
16
README.md
Normal 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
|
||||
Reference in New Issue
Block a user