Files
DOCKER_PHP_BASE/v2-apache/entrypoint-runner.sh
T
2026-10-31 19:29:48 +01:00

10 lines
299 B
Bash

#!/bin/sh
# Legacy images ship their own start.sh in the app root and do the whole setup themselves.
[ -f "${APP_ROOT:-/var/www/html}/start.sh" ] && exit 0
for f in /etc/entrypoint.d/*.sh; do
if [ -x "$f" ]; then
"$f" || { echo "entrypoint script failed: $f" >&2; exit 1; }
fi
done