You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
494 B

FROM aosapps/drone-sonar-plugin AS base
FROM cimg/php:8.2
COPY --from=base /bin/drone-sonar /bin/
RUN docker-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
ENTRYPOINT /bin/drone-sonar