try fixing Dockerfile
continuous-integration/drone/push Build is failing Details

main
Alexandre AGOSTINHO 1 year ago
parent 282aa66c66
commit 666f9311d3

@ -3,13 +3,12 @@ FROM aosapps/drone-sonar-plugin AS base
FROM cimg/php:8.2
COPY --from=base /bin/drone-sonar /bin/
RUN pecl install xdebug \
&& php-ext enable xdebug \
&& echo "xdebug.mode=coverage" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
&& wget -O phpunit.phar https://phar.phpunit.de/phpunit-10.phar \
&& sudo mv phpunit.phar /usr/local/bin/phpunit \
&& chmod +x /usr/local/bin/phpunit \
&& phpunit --version
RUN php-ext enable xdebug \
&& echo "xdebug.mode=coverage" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
&& wget -O phpunit.phar https://phar.phpunit.de/phpunit-10.phar \
&& sudo mv phpunit.phar /usr/local/bin/phpunit \
&& chmod +x /usr/local/bin/phpunit \
&& phpunit --version
#RUN phpunit ${TESTS_FOLDER} --coverage-clover=coverage.xml

Loading…
Cancel
Save