Files
dockerfiles/php-fpm/docker-php-entrypoint
Gong Sophia b433f2c0cc add php-fpm container
Signed-off-by: Gong Sophia <sophia.gong@intel.com>
2019-07-02 13:13:50 +08:00

10 lines
122 B
Bash

#!/bin/sh
set -e
# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- php-fpm "$@"
fi
exec "$@"