Try to use xdebug another way

This commit is contained in:
Timothy Warren 2017-02-15 09:42:20 -05:00
parent 85a6fafd4f
commit 90f1b39db5

View File

@ -12,12 +12,14 @@ apk upgrade --update && apk add \
libxslt-dev \ libxslt-dev \
zlib-dev zlib-dev
apk add php7-xdebug --repository http://dl-3.alpinelinux.org/alpine/edge/testing/
# Install phpunit, the tool that we will use for testing # Install phpunit, the tool that we will use for testing
curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
chmod +x /usr/local/bin/phpunit chmod +x /usr/local/bin/phpunit
# Install extensions # Install extensions
pecl install xdebug #pecl install xdebug
echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini echo "zend_extension=/usr/lib/php7/modules/xdebug.so" > /usr/local/etc/php/conf.d/xdebug.ini
docker-php-ext-install xsl #docker-php-ext-install xsl
docker-php-ext-install zip #docker-php-ext-install zip