Update README.md

This commit is contained in:
Dandaedre 2026-01-14 17:28:30 +01:00
parent b3c0ac4edb
commit f2ab2be27d
1 changed files with 9 additions and 9 deletions

View File

@ -10,20 +10,20 @@ It is intended to compile LaTeX documents inside a reproducible container.
```bash
# Build the image (you can replace `ravenous-latex` with any tag you prefer)
podman build -t ravenous-latex .
podman build -t ravenous-podman:latest .
# Compile a document
podman run --rm -v "$(pwd)":/workspace ravenous-latex pdflatex main.tex
# Save + compress (for offline sharing)
podman save -o ravenous-podman.tar.gz ravenous-podman:latest
```
The image defaults to `/workspace` as the working directory, so any mounted volume at `.` will be available for LaTeX source files.
## Image contents
- **Base** – `debian:stable-slim`
- **TeX Live** – minimal packages needed for most documents
- **Rust** – `cargo` installed system‑wide
- **Ravenous tools** – `cargo install` from the public repo
- **Base** - `debian:stable-slim`
- **TeX Live** - minimal packages needed for most documents
- **Rust** - `cargo` installed system-wide
- **Ravenous tools** - `cargo install` from the public repo
## Usage
@ -32,8 +32,8 @@ The image defaults to `/workspace` as the working directory, so any mounted volu
podman run --rm ravenous-latex --help
# Compile
podman run --rm -v "$(pwd)":/workspace make -t glossaries -N Ravenous.tex
podman run --rm -v "$(pwd)":/workspace make -N Ravenous.tex
podman run --rm -v "$(pwd)":/workspace ravenous-podman:latest make -t glossaries -N Ravenous.tex
podman run --rm -v "$(pwd)":/workspace ravenous-podman:latest make -N Ravenous.tex
```
Feel free to extend the Dockerfile or wrap it in a CI pipeline.