This commit is contained in:
@@ -9,27 +9,10 @@ if [ -f /usr/local/etc/php/php.ini-$ENVIRONMENT ]; then
|
||||
fi
|
||||
|
||||
|
||||
if [ $PHP_VERSION = '72' ]; then
|
||||
if [ $PHP_VERSION == '72' ]; then
|
||||
wget -O /bin/composer https://getcomposer.org/composer-1.phar
|
||||
else
|
||||
wget -O /bin/composer https://getcomposer.org/composer.phar
|
||||
fi
|
||||
|
||||
chmod a+x /bin/composer
|
||||
|
||||
|
||||
if [ $PHP_VERSION = '72' ]; then
|
||||
composer global require hirak/prestissimo
|
||||
fi
|
||||
|
||||
if [ $ENVIRONMENT != 'production' ]; then
|
||||
wget -O phpunit https://phar.phpunit.de/phpunit-9.phar
|
||||
install phpunit /usr/local/bin
|
||||
fi
|
||||
|
||||
if [ $ENVIRONMENT = 'development' ]; then
|
||||
apk --update --no-cache add autoconf g++ make
|
||||
pecl install -f xdebug
|
||||
docker-php-ext-enable xdebug
|
||||
apk del --purge autoconf g++ make
|
||||
fi
|
||||
|
Reference in New Issue
Block a user