Docker image for infection
The image is based on Alpine Linux and built daily.
latest
(latest/Dockerfile)
Install the container:
docker pull dockerizedphp/infection
docker run --rm -ti -v $PWD:/app dockerizedphp/infection run src
You can also change some Xdebug settings as in the following command:
docker run --rm -ti -v $PWD:/app --entrypoint=php dockerizedphp/infection -d xdebug.idekey=PHPSTORM /usr/local/bin/infection --version