Container for LocalGov Drupal CI, includes Apache, PHP and Composer.
To use with the the included docker-compose.yml
file, create a LocalGov Drupal install in an html directory in the git root, start docker-compose
and then run the tests.
Something like:
git clone git@github.com:localgovdrupal/drupal-container.git localgovdrupal-testing
cd localgovdrupal-testing
composer create-project --stability dev --keep-vcs localgovdrupal/localgov-project ./html
docker-compose up -d
./run-tests.sh
docker-compose stop
The Docker image lives in Docker Hub. Ask in Slack if you need the permissions to push new images.
Build with:
export branch=$(git symbolic-ref --short HEAD)
docker build . -t localgovdrupal/apache-php:$branch
docker push localgovdrupal/apache-php:$branch
This project is currently maintained by:
- Finn Lewis: https://github.com/finnlewis
- Stephen Cox: https://github.com/stephen-cox