Docker - Musketeers
- Docker: useful when doing Docker in Docker (DinD).
# pull image $ docker pull flemay/musketeers # run image $ docker run --rm flemay/musketeers docker --version
# Development # generate .env file $ make envfile # build image $ make build # test image $ make test # go inside a musketeers container $ make shell
The GitLab pipeline to build and test the Docker image flemay/cookiecutter uses
This image will always be built with the tag
latest so tools will always be up to date. This may cause issues if any tool has a breaking change.
Automated build process
In a nutshell, any change to master triggers a Travis build and if the tests passed it triggers a Docker Hub build. The automatic build on Docker Hub has been disabled ensuring the build process to go only through Travis.
A cron task in Travis triggers a build every month making the image to be as fresh as possible automatically.