From 666f9311d3d386231adb19f93e5c29f8e72768ac Mon Sep 17 00:00:00 2001 From: Alexandre Agostinho Date: Mon, 18 Mar 2024 17:13:00 +0100 Subject: [PATCH] try fixing Dockerfile --- Dockerfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 982058f..7efbed2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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