https://github.com/level12/python-test-multi
A docker container with many python versions and a tox entrypoint
https://github.com/level12/python-test-multi
Last synced: 10 months ago
JSON representation
A docker container with many python versions and a tox entrypoint
- Host: GitHub
- URL: https://github.com/level12/python-test-multi
- Owner: level12
- Created: 2016-03-21T13:46:03.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T13:25:56.000Z (over 1 year ago)
- Last Synced: 2025-06-27T10:07:04.855Z (12 months ago)
- Language: Dockerfile
- Size: 32.2 KB
- Stars: 1
- Watchers: 9
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Test Container
Testing Python apps with tox and python versions has never been so easy!
## Installed Python Versions
3.9-3.10
Older OS tags may have less recent versions.
## OS Tags
- ubuntu1604 (you should upgrade the OS!)
- ubuntu1804
- ubuntu2004
- ubuntu2204
- latest (Ubuntu 22.04)
## Entrypoint
By default the entrypoint is whatever you mount at `/opt/src/docker-entry`.
You must put a file there or else bash will complain that there is no file.
## PIP
`pip` is installed for every Python version. The executable is under pip{short
python version}, for example, `pip3.9`.
## Testing the container
You can drop into a shell inside the container with:
```sh
$ docker run --rm -it --entrypoint=/bin/bash level12/python-test-multi
```
## Problems
File a bug report at https://github.com/level12/python-test-multi/issues