1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

New env var: IPE_DEBUG (turn on debug) (#695)

This commit is contained in:
Michele Locati 2023-02-20 18:47:49 +01:00 committed by GitHub
parent 9c07e94ccc
commit 9d8d867219
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -12,6 +12,10 @@
set -o errexit
set -o nounset
if test "${IPE_DEBUG:-}" = "1"; then
set -x
fi
if ! which docker-php-ext-configure >/dev/null || ! which docker-php-ext-enable >/dev/null || ! which docker-php-ext-install >/dev/null || ! which docker-php-source >/dev/null; then
printf 'The script %s is meant to be used with official Docker PHP Images - https://hub.docker.com/_/php\n' "$0" >&2
exit 1