Restructure repo
All checks were successful
Create and publish container / build_container (push) Successful in 7s

This commit is contained in:
2025-12-22 19:19:43 +01:00
parent 924ae58cc9
commit becdf00ad9
6 changed files with 2 additions and 2 deletions

23
latex/entrypoint.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/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
cd /root/data
if [ -n "$WORKING_DIR" ]; then
cd "$WORKING_DIR"
fi
echo "Runner started, will run latexmk with extra args $EXTRA_ARGS"
latexmk -pdf $EXTRA_ARGS