This image is used together with wayofdev/docker-php-dev and other WOD images, to create local development environment for our projects.
Has built in, enabled support for:
- UUID's — covered by uuid-ossp extension
- ULID's — implemented by custom extension by Dave Allie
If you like/use this repository, please consider starring it. Thanks!
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-postgres.git
$ make build
To build image, test it and then clean temporary files run:
$ make
Building all images:
$ make build TEMPLATE="15-alpine"
$ make build TEMPLATE="14-alpine"
Testing default image:
$ make test
To test all images:
$ make test TEMPLATE="15-alpine"
$ make test TEMPLATE="14-alpine"
Run yamllint to validate all yaml files in project:
$ make lint
Run hadolint to validate created Dockerfiles:
$ make hadolint
This repository was created in 2022 by lotyp / wayofdev.