set -eしてるんだから落ちるだろうが
This commit is contained in:
parent
34df704fdb
commit
a7859fdda6
2
dist/bin/tissue-entrypoint.sh
vendored
2
dist/bin/tissue-entrypoint.sh
vendored
@ -4,7 +4,7 @@ set -e
|
||||
if [[ "$APP_DEBUG" == "true" ]]; then
|
||||
export PHP_INI_SCAN_DIR=":/usr/local/etc/php/php.d"
|
||||
|
||||
php -r "if (gethostbyname('host.docker.internal') === 'host.docker.internal') exit(1);" &> /dev/null
|
||||
php -r "if (gethostbyname('host.docker.internal') === 'host.docker.internal') exit(1);" &> /dev/null && :
|
||||
if [[ $? -eq 0 ]]; then
|
||||
# Docker for Windows/Mac
|
||||
export PHP_XDEBUG_REMOTE_HOST='host.docker.internal'
|
||||
|
Loading…
Reference in New Issue
Block a user