PHPUnit docker image to be used with Laravel
1.4K
This is a Docker image for phpunit CLI to be used with a Laravel PHP Framework setup. It will use the phpunit from vendor/bin so that syntax color is enabled.
An automated build for this repo is available on the Docker Hub.
This image works well when used with the Docker Laravel multi-container solution.
The container working directory is the volume /var/www. You can run any phpunit command like this:
docker run -t --rm -v $(pwd):/var/www vcarreira/phpunit <phpunit args here>
:ok_hand: Happy Coding.
If you have any feedback or questions, feel free to contact me on Twitter with @vcarreira or email with [email protected].
Content type
Image
Digest
Size
205.3 MB
Last updated
almost 6 years ago
docker pull vcarreira/phpunit