Multi-version Python Docker image for research and testing with tox
3.0K
makukha/multipython:latest — prerelease and supported Python distributionsmakukha/multipython:cpython — latest bugfix CPython imagemakukha/multipython:supported — supported versions, not including prereleasemakukha/multipython:unsafe — all versions, including end-of-lifemakukha/multipython:{py314...} — single version imagesbase have system Python in virtual environmentpy313tdebian:stable-slimlinux/amd64amd64Dockerfile linkslatest, 252D — all supported and prerelease CPython versionscpython, cpython-252D — CPython 3.13.2 — latest versionsupported, supported-252D — all supported CPython versionsunsafe, unsafe-252D — all CPython versions, including EOLbase, base-252D — pyenv, uvpy314t, py314t-252D — CPython 3.14.0a5 free-threadedpy313t, py313t-252D — CPython 3.13.2 free-threadedpy314, py314-252D — CPython 3.14.0a5py313, py313-252D — CPython 3.13.2py312, py312-252D — CPython 3.12.9py311, py311-252D — CPython 3.11.11py310, py310-252D — CPython 3.10.16py39, py39-252D — CPython 3.9.21py38, py38-252D — CPython 3.8.20py37, py37-252D — CPython 3.7.17py36, py36-252D — CPython 3.6.15py35, py35-252D — CPython 3.5.10py27, py27-252D — CPython 2.7.18All images with Python include pip, pyenv, tox, uv.
# tox.ini
[tox]
env_list = py{27,35,36,37,38,39,310,311,312,313,314,313t,314t}
skip_missing_interpreters = false
[testenv]
command = {env_python} --version
docker run --rm -v .:/src -w /src makukha/multipython:unsafe tox run
Single version images can be used on their own:
$ docker run --rm -v .:/src -w /src makukha/multipython:py310 tox run
See Documentation for advanced usage.
| Distribution | Note | Tag | Command | Source |
|---|---|---|---|---|
| CPython 3.14.0a5 | free threaded | py314t | python3.14t | pyenv |
| CPython 3.13.2 | free threaded | py313t | python3.13t | pyenv |
| CPython 3.14.0a5 | py314 | python3.14 | pyenv | |
| CPython 3.13.2 | system ⚙️ | py313 | python3.13 | pyenv |
| CPython 3.12.9 | py312 | python3.12 | pyenv | |
| CPython 3.11.11 | py311 | python3.11 | pyenv | |
| CPython 3.10.16 | py310 | python3.10 | pyenv | |
| CPython 3.9.21 | py39 | python3.9 | pyenv | |
| CPython 3.8.20 | EOL | py38 | python3.8 | pyenv |
| CPython 3.7.17 | EOL | py37 | python3.7 | pyenv |
| CPython 3.6.15 | EOL | py36 | python3.6 | pyenv |
| CPython 3.5.10 | EOL | py35 | python3.5 | pyenv |
| CPython 2.7.18 | EOL | py27 | python2.7 | pyenv |
makukha/multipython — py3{9,10,11,12,13,14}, py3{13,14}tmakukha/multipython:cpython — py313makukha/multipython:supported — py3{9,10,11,12,13}, py313tmakukha/multipython:unsafe — all tags aboveUse specific image digests for better control and reproducibility.
$ docker run --rm -v .:/src -w /src makukha/multipython@sha256:... tox run
Content type
Image
Digest
sha256:b5643aaa4…
Size
1.2 GB
Last updated
over 1 year ago
docker pull makukha/multipython:unsafe-252D