Sign inSign up

grummfy/docker-php-ci

By grummfy

•Updated over 10 years ago

Docker for a CI tool written in PHP.

Image
0

248

grummfy/docker-php-ci repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

289.3 MB

Last updated

over 10 years ago

docker pull grummfy/docker-php-ci