php/7.0/jessie/zts/docker-php-entrypoint
Joe Ferguson 0bb4068bd6 Restructure organization so to support simultaneous base distro releases
- this will allow us release to `jessie` and `stretch` variants at the same time so that users have a time to transition from one to the other.
2017-10-12 06:53:45 -07:00

10 lines
118 B
Bash
Executable File

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