Commit 54c8945b authored by nanahira's avatar nanahira

add EXTRA_PACKAGES and BEFORE_SCRIPT

parent b014164a
Pipeline #15213 passed with stages
in 3 minutes and 10 seconds
#!/bin/sh #!/bin/sh
set -e set -e
if [ -n "$EXTRA_PACKAGES" ]; then
echo "Installing extra packages: $EXTRA_PACKAGES"
apk add $EXTRA_PACKAGES
fi
if [ -n "$BEFORE_SCRIPT" ]; then
echo "Running before script: $BEFORE_SCRIPT"
sh -c "$BEFORE_SCRIPT"
fi
if [ -n "$IMMEDIATE" ]; then if [ -n "$IMMEDIATE" ]; then
echo "Running $@ immediately..." echo "Running $@ immediately..."
"$@" "$@"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment