A docker image with several python versions, and associated python tools.
⚠ Warning: If you were using those images before february 2022, be aware that the way Python versions are installed have changed.
- Before: Python was installed using apt (which was a mess).
- Now: Python is compiled from source.
The result is that more Python versions are now installed.
This image is Debian stable, with the following Python versions compiled from source:
- Python: 2.7, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13.
- Pypy: 2.7, 3.7, 3.8, 3.9, 3.10.
- Jython: 2.7.
- Some python packages are installed using pip3: black build coverage pycodestyle pylint tox
Missing a tool? Contact me to add any Python package from the Python Packaging Authority, the Python Software Foundation, or Python Code Quality Authority.
The accurate versions of each tools (excepted thoses installed using pip3) is available at the start of the Dockerfile.
I try to keep the tools here up-to-date: when a new python or Debian version is available, this image is updated soon after, without notice. However, if a new version of whatever binary is installed here is available, and I did not update this Docker image yet, please contact me (issue tracker or mail at the beginning of the Dockerfile).
sudo docker pull paternal/pythons
sudo docker run -i -t paternal/pythons /bin/bash