This repository contains various Dockerfiles for building Python test images based on different Linux distributions. The
Dockerfiles install the CPython versions 2.7, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8,3.9,
3.10, 3.11, 3.12, 3.13 (depending on the Linux distribution some versions are not available).
Tox is preinstalled and can be used to test against Python 2.7 and 3.3+.
Currently, this repository contains Dockerfiles based on Alpine (latest), Debian buster, bullseye and bookworm, Ubuntu
16.04, 18.04, 20.04, 22.04 and 24.04 LTS, CentOS 7 and Rocky Linux 8 and 9.
2.7, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.132.7, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.92.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.132.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.132.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.132.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.132.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.132.7, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.92.7, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.92.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.132.7, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.132.7, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13Create a .gitlab-ci.yml configuration for your project that uses the python-testing image:
stages:
- test
test:
image: sciapp/python-testing:latest
stage: test
script:
- tox
sciapp/python-testing:latest is an alias for the Alpine image.
In order for this configuration to work, you need a
Tox configuration file (tox.ini).
sciapp/python-testing:latest (alias for sciapp/python-testing:latest-alpine)sciapp/python-testing:latest-alpinesciapp/python-testing:latest-debian (alias for sciapp/python-testing:latest-debian-bullseye)sciapp/python-testing:latest-debian-bustersciapp/python-testing:latest-debian-bullseyesciapp/python-testing:latest-ubuntu (alias for sciapp/python-testing:latest-ubuntu-22.04)sciapp/python-testing:latest-ubuntu-16.04sciapp/python-testing:latest-ubuntu-18.04sciapp/python-testing:latest-ubuntu-20.04sciapp/python-testing:latest-ubuntu-22.04sciapp/python-testing:latest-rocky (alias for sciapp/python-testing:latest-rocky-9)sciapp/python-testing:latest-centos-7sciapp/python-testing:latest-rocky-8sciapp/python-testing:latest-rocky-9Content type
Image
Digest
sha256:055113fff…
Size
582.5 MB
Last updated
3 days ago
docker pull sciapp/python-testing