Files
docker/latex/entrypoint.sh
Janis Hutz 16502ebaf6
All checks were successful
Create and publish container / build_container (push) Successful in 7s
Update entrypoint
2025-12-23 07:13:32 +01:00

20 lines
276 B
Bash
Executable File

#!/bin/sh
set -e
EXTRA_ARGS="$1"
EXTRA_PKGS="$2"
if [ -n "$EXTRA_PKGS" ]; then
for pkg in $EXTRA_PKGS; do
echo "Install $pkg by apk"
apk add "$pkg"
done
fi
ls /root
echo "Runner started, will run latexmk with extra args $EXTRA_ARGS"
latexmk -pdf $EXTRA_ARGS