Stikked/docker/docker-php-entrypoint
2017-09-26 17:03:14 +02:00

13 lines
202 B
Bash

#!/bin/sh
set -e
# custom script to overwrite stikked config variables
bash /bin/replace-envvars.sh
# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- php "$@"
fi
exec "$@"