add php-nginx

This commit is contained in:
Stille
2022-07-20 23:24:29 +08:00
parent 920a445fab
commit 473df97a18
115 changed files with 2903 additions and 0 deletions
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
#############################################
## Run CLI_SCRIPT from environment variable
#############################################
if [ -n "${CLI_SCRIPT}" ]; then
if [ -n "$APPLICATION_USER" ]; then
# Run as EFFECTIVE_USER
shift
exec gosu "${APPLICATION_USER}" ${CLI_SCRIPT} "$@"
else
# Run as root
exec ${CLI_SCRIPT} "$@"
fi
else
echo "[ERROR] No CLI_SCRIPT in in docker environment defined"
exit 1
fi