Update entrypoint
All checks were successful
Create and publish container / build_container (push) Successful in 7s
All checks were successful
Create and publish container / build_container (push) Successful in 7s
This commit is contained in:
@@ -2,8 +2,9 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
EXTRA_ARGS="$1"
|
WORKDIR="$1"
|
||||||
EXTRA_PKGS="$2"
|
EXTRA_ARGS="$2"
|
||||||
|
EXTRA_PKGS="$3"
|
||||||
|
|
||||||
if [ -n "$EXTRA_PKGS" ]; then
|
if [ -n "$EXTRA_PKGS" ]; then
|
||||||
for pkg in $EXTRA_PKGS; do
|
for pkg in $EXTRA_PKGS; do
|
||||||
@@ -12,8 +13,12 @@ if [ -n "$EXTRA_PKGS" ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$WORKDIR" ]; then
|
||||||
|
cd "$WORKDIR"
|
||||||
|
fi
|
||||||
|
|
||||||
ls /root
|
ls /root
|
||||||
|
|
||||||
echo "Runner started, will run latexmk with extra args $EXTRA_ARGS"
|
echo "Runner started, will run latexmk with extra args $EXTRA_ARGS"
|
||||||
|
|
||||||
latexmk -pdf $EXTRA_ARGS
|
latexmk -pdf -latexoption=-file-line-error -latexoption=-interaction=nonstopmode $EXTRA_ARGS
|
||||||
|
|||||||
Reference in New Issue
Block a user