Public | Automated Build

Last pushed: a year ago
Short Description
Docker for a CI tool written in PHP.
Full Description

docker-php-ci

Docker for a CI tool written in PHP.

This docker simple make the project CI project available through a docker.

Tools available

A lot of QA tools exist in PHP. Here is the list available in this docker :

Use the docker image

docker 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

Understand the mounted volumes

You need to have two volumes to mount :

  • repositories
    • the volume that will contains the code to load
    • in the command line it's materialized with /workspace/my-repositories
  • config
    • the volume that will contains the ci.php file to load for the CI tools
    • in the command line it's materialized with /workspace/my-config

So in your ci.php file you simply need to let the path value point to /var/www/repositories/name-of-the-project/.

Use for the tools only

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
Docker Pull Command
Owner
grummfy
Source Repository

Comments (0)