My collection of Docker images.
TL;DR:
find images/ -name 'Dockerfile*' | sort
This repository has the following image directories:
-
images/base/
: images derived from external images.
Example:base/pre-commit
is built frompython:3-alpine
. -
images/child/
: images derived from other images in this repository.
Example:child/molecule
is built frombase/ansible
.
All images are automatically (and regularly) pushed to Docker Hub.
Install the script requirements:
pip install -r builder/requirements.txt
Run it:
# Build all base images
IMAGES_DIR=images/base ./builder/build.py
# Build only the Ansible base image
IMAGES_DIR=images/base IMAGE=ansible ./builder/build.py
See the build.py
source for more options.
Try the *-images
targets. Example:
make base-images
make base-images IMAGE=pre-commit
make child-images
make all-images
Run make help
for all available commands.
To add a new image to this repository:
-
Install Cookiecutter.
-
Run
make new-image
and answer some basic questions. -
There's no step 3.
This repository had been forked from flaudisio/docker-images. All the credits go to it's original author.
MIT.