php/8.1/alpine3.17/cli/docker-php-entrypoint
Jesper Noordsij d4616116cb
Add Alpine 3.17 variant (#1348)
* Add Alpine 3.17 variant for PHP >= 8.1

Also remove Alpine 3.15

* Remove old Alpine 3.13 reference from Dockerfile-linux.template

* Improve Alpine version matching in versions.sh
2022-11-30 10:19:15 -08: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 "$@"