This repository contains Dockerfiles related to Lagoon.
This repository was created with git filter-repo
from the main Lagoon repository, in order to preserve commit history.
These dockerfiles are used to create the base images for consumption in Docker Compose based projects.
The images used to build Lagoon itself are stored in the Lagoon repository, and are built separately.
Branch/fork and add/edit a Dockerfile in the images/
directory.
This project utilises a Makefile to build and test images.
Once you have made a modification to a base image, follow these steps to rebuild the images, start a local Lagoon stack from tagged images, and run the predefined tests through a local Kubernetes stack.
make build
make up
make k8s-tests
Note that only a few tests are currently provided (NGINX and Drupal) - if you'd like to contribute more, please reach out!