A python image with docker, dockerd, docker-compose, and dind for use in ci. Find it on dockerhub
Uses/features:
- With testcontainers-python in a ci
- Running pytest e2e tests that use external services
- Having one image that can act as both the docker daemon and client
- No need to install python on
docker:dind
at the start of each job - Glibc-based means it can use wheels from PYPI without building from source like on alpine python images
The images are constructed automatically on a selected set of tags from the official python image, briefly tested, then uploaded.
- The Dockerfile merges instructions from the official docker:dind Dockerfile and other debian based docker images
- The version fetching is inspired by the official docker image's versions.sh
- Automatic image builds loosely based on This blog post + the github actions documentation