1
0
This commit is contained in:
2022-09-21 14:01:45 +02:00
parent 0a30f39eb4
commit cfee4d93d0
349 changed files with 4 additions and 4 deletions

View File

@ -0,0 +1,14 @@
FROM condorcet
RUN pecl install pcov \
&& docker-php-ext-enable pcov
RUN php composer.phar install --optimize-autoloader --no-progress \
&& rm -rf /root/.composer/cache
ENTRYPOINT [ "vendor/bin/infection" ]
# Usage:
# 1. docker build -f Dockerfile.infection -t infection .
# 2. docker run --hostname="infection" --mount type=bind,src=$(pwd),dst=/usr/src/condorcetapp --rm -it infection:latest
# The infection test takes a long time. You can use --filter to only test a portion of the code.