Docker for a CI tool written in PHP.
248
Docker for a CI tool written in PHP.
This docker simple make the project CI project available through a docker.
A lot of QA tools exist in PHP. Here is the list available in this docker :
atoumbehatcodeceptpdependphpcs and phpcbfphp-cs-fixerphpcpdphpdcdphingphplocphpmdphpmetricsphpspecphpunitdocker pull grummfy/docker-php-ci
docker run -ti -v /workspace/my-repositories:/var/www/repositories -v ~/workspace/my-config:/var/www/config -p 8000:80 grummfy/docker-php-ci
This will make the tools available through http://localhost:8000
You need to have two volumes to mount :
/workspace/my-repositories/workspace/my-configSo in your ci.php file you simply need to let the path value point to /var/www/repositories/name-of-the-project/.
If you want you can use this image for a specific tools. Here with phploc.
docker run --rm -ti grummfy/docker-php-ci phploc /workspace/my-repositories/my-super-project
Content type
Image
Digest
Size
289.3 MB
Last updated
over 10 years ago
docker pull grummfy/docker-php-ci