https://github.com/localgovdrupal/drupal-container
Docker container for LocalGov Drupal CI
https://github.com/localgovdrupal/drupal-container
Last synced: 4 months ago
JSON representation
Docker container for LocalGov Drupal CI
- Host: GitHub
- URL: https://github.com/localgovdrupal/drupal-container
- Owner: localgovdrupal
- License: gpl-2.0
- Created: 2020-05-13T08:21:51.000Z (about 6 years ago)
- Default Branch: php8.3
- Last Pushed: 2024-11-21T18:59:29.000Z (over 1 year ago)
- Last Synced: 2025-05-23T13:49:19.864Z (about 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 59.6 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LocalGov Drupal Docker container
Container for LocalGov Drupal CI, includes Apache, PHP and Composer.
## Running tests with Docker Compose
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:
```bash
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
```
## Building the Docker image
The Docker image lives in [Docker Hub](https://hub.docker.com/repository/docker/localgovdrupal/apache-php). Ask in [Slack](https://localgovdrupal.slack.com/) if you need the permissions to push new images.
Build with:
```bash
export branch=$(git symbolic-ref --short HEAD)
docker build . -t localgovdrupal/apache-php:$branch
docker push localgovdrupal/apache-php:$branch
```
## Maintainers
This project is currently maintained by:
- Finn Lewis: https://github.com/finnlewis
- Stephen Cox: https://github.com/stephen-cox