php/5.6/jessie/fpm/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
122 B
Bash
Executable File

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