mirror of
https://github.com/agresdominik/texlive.git
synced 2026-07-21 17:20:54 +00:00
10 lines
308 B
Bash
Executable File
10 lines
308 B
Bash
Executable File
#!/bin/sh
|
|
# Run latexmk from the texlive image against the current directory.
|
|
# tex -pdf main.tex
|
|
# --user + HOME=/tmp keep build artifacts owned by you, not root.
|
|
exec docker run --rm \
|
|
--user "$(id -u):$(id -g)" \
|
|
-e HOME=/tmp \
|
|
-v "$PWD:/data" \
|
|
ghcr.io/agresdominik/texlive:latest "$@"
|