All operations are automated as much as possible.
- Images and description on Docker Hub will be automatically rebuilt on
pushes to
masterbranch and on updates of parent Docker images. - Travis CI is used only for tests.
- Generation of each
Dockerfileand its context is automated viaMakefile.
To update versions of images following steps are required:
- Update all required versions in
Makefile. - Update all required versions in
README.md. - If you need to modify some
Dockerfiles then do it via editingDockerfile.template.erbtemplate. - Regenerate all
Dockerfiles and their context (it's okay to remove previous ones completely):make src-all
- If
Dockerfiles layout was changed somehow (major version change, for example), you should check build triggers on Docker Hub and Travis CI configuration, modify them as required BEFORE push tomasterbranch. - Push changes to
masterbranch.
To run tests for all possible image versions, just do:
make test-all prepare-images=yesIt will build images for each Dockerfile and run those images against
test/suite.bats.
It's still possible to build, tag and push images manually. Just use:
make release-allIt will build all existing Dockerfiles, tag them with proper tags
(as README.md requires) and push them to Docker Hub.