php/8.2/alpine3.18/cli/docker-php-entrypoint
Jesper Noordsij 9a3c8d8a80
Add Alpine 3.18 variant for PHP >= 8.1
Keep Alpine 3.16 to support PHP 8.0
2023-05-10 11:41:55 +02:00

10 lines
118 B
Bash
Executable File
Generated

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