1. root@php_h5ai:/var/www/html# cat /usr/local/bin/docker-php-entrypoint
    2. #!/bin/sh
    3. set -e
    4. # first arg is `-f` or `--some-option`
    5. if [ "${1#-}" != "$1" ]; then
    6. set -- apache2-foreground "$@"
    7. fi
    8. exec "$@"