Skip to content

shmileee/docker-images

 
 

Repository files navigation

Docker Images

My collection of Docker images.

Where are the Dockerfiles?

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 from python:3-alpine.

  • images/child/: images derived from other images in this repository.
    Example: child/molecule is built from base/ansible.

Where are the images?

All images are automatically (and regularly) pushed to Docker Hub.

Building

Using the build script

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.

Using make

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.

Adding a new image

To add a new image to this repository:

  1. Install Cookiecutter.

  2. Run make new-image and answer some basic questions.

  3. There's no step 3.

Credits

This repository had been forked from flaudisio/docker-images. All the credits go to it's original author.

License

MIT.

About

My collection of Docker images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 44.4%
  • Dockerfile 32.1%
  • Shell 17.5%
  • Makefile 6.0%