level12 / python-test-multi

A docker container with many python versions and a tox entrypoint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

$ 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

About

A docker container with many python versions and a tox entrypoint


Languages

Language:Dockerfile 100.0%