/docker-base-images

Provides various base images for Docker.

Primary LanguageDockerfileMIT LicenseMIT

Base images for Docker that are always up to date

Docker Automated build Docker build status Docker Pulls Docker stars

Build Status

These images are automatically built, tested and pushed on a daily basis, so they're always up to date.

To see all the available images, please go to this Docker Hub page.


Development

Basic

Build the images (Alpine used as an example):

./docker-make.sh --no-push --remove --detailed --file .docker-make.alpine-3-5.yml

Check the .travis folder for scripts used for checking updates, testing etc.

Advanced

  1. Pull and tag latest images from Docker Hub

./.ci/setup.sh

  1. Check for updates to all images (statuses are exported as env vars)

source .ci/update_check.sh

  1. Build all images that have been marked for updating

./.ci/build.sh

  1. Test the base images that they still work (note: requires expect to be installed)

unbuffer .ci/test.sh

  1. Push updated images to Docker Hub

./.ci/push.sh

Alternatively you can use act:

act -W .github/workflows/test_docker.yml -s DOCKER_USERNAME= -s DOCKER_PASSWORD= --verbose -P ubuntu-latest=catthehacker/ubuntu:runner-20.04

Licenses

This project is provided under the MIT License.