Minimal Python images for testing Ansible collections.
402
Minimal Python images for testing Ansible collections.
Both flavors of this image contain the following Python versions installed at
/usr/local/bin/pythonX.Y:
Additionally, the -alpine-docker image contains the Docker cli tools for
interacting with a Docker daemon (primarily within GitLab CI/CD pipelines). The
intended usage would be to create a Python virtualenv for the target Python
version, and use that to perform CI tasks. For example:
mkdir "${CI_PROJECT_PATH}/.venvs"
/usr/local/bin/python3.12 -m venv "${CI_PROJECT_PATH}/.venvs/3.12"
source "${CI_PROJECT_PATH}/.venvs/3.12/bin/activate"
python -m pip install -U pip
python -m pip install -r requirements.txt
These images are built specifically for performing CI testing of Ansible collections, and are not intended for general use.
MIT
Content type
Image
Digest
sha256:7dfe4a808…
Size
239.1 MB
Last updated
over 2 years ago
docker pull jdubz/ci-python:latest-alpine-docker