This image is used together with wayofdev/docker-php-dev and other WOD images, to create local development environment for our projects.
To install dependencies and start development you can check contents of our Makefile
For testing purposes we use goss and dgoss, follow installation instructions on their official README
Generating distributable Dockerfiles from yaml source code:
$ make generate
Building default image:
$ git clone git@github.com:wayofdev/docker-nginx.git
$ cd docker-nginx
$ make build
To build image, test it and then clean temporary files run:
$ make
Building all images:
$ make build IMAGE_TEMPLATE=dev-alpine
$ make build IMAGE_TEMPLATE=k8s-alpine
Testing default image:
$ make test
To test all images:
$ make test IMAGE_TEMPLATE=dev-alpine
$ make test IMAGE_TEMPLATE=k8s-alpine
Run yamllint to validate all yaml files in project:
$ make lint-yaml
Run hadolint to validate created Dockerfiles:
$ make lint-docker
Run ansible-lint to validate project files:
$ make lint-ansible
This repository was created in 2022 by lotyp / wayofdev.