1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__serveur-vote-lalis/include/condorcet/Dev/Dockerfile.infection

15 lines
502 B
Docker
Raw Normal View History

2022-09-21 12:39:11 +02:00
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.