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

main
Alexandre AGOSTINHO 8 months ago
parent ef2ef9fee1
commit 40dee1c090

@ -3,12 +3,12 @@ FROM aosapps/drone-sonar-plugin AS base
FROM cimg/php:8.2
COPY --from=base /bin/drone-sonar /bin/
RUN docker-php-ext-install xdebug \
&& docker-php-ext-enable xdebug \
&& echo "xdebug.mode=coverage" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
RUN sudo docker-php-ext-install xdebug \
&& sudo docker-php-ext-enable xdebug \
&& sudo 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 \
&& sudo chmod +x /usr/local/bin/phpunit \
&& phpunit --version

Loading…
Cancel
Save