Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robert-96/tox-docker
Docker image for running tox with Python 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, PyPy and PyPy3.
https://github.com/robert-96/tox-docker
cpython docker docker-image dockerfile pypy pypy3 python python2 python3 tox
Last synced: 23 days ago
JSON representation
Docker image for running tox with Python 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, PyPy and PyPy3.
- Host: GitHub
- URL: https://github.com/robert-96/tox-docker
- Owner: Robert-96
- License: mit
- Created: 2019-02-25T08:35:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-02T18:29:59.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T00:17:23.198Z (7 months ago)
- Topics: cpython, docker, docker-image, dockerfile, pypy, pypy3, python, python2, python3, tox
- Language: Shell
- Homepage: https://hub.docker.com/r/robert96/tox
- Size: 20.5 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tox-docker
Docker image for running tox with Python 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, PyPy and PyPy3.
CPython Versions:
* `2.7.18`
* `3.4.10`
* `3.5.10`
* `3.6.15`
* `3.7.16`
* `3.8.16`
* `3.9.16`
* `3.11.1`
* `3.12.0`PyPy Versions:
* PyPy `7.3.11` - Python `2.7`
* PyPy `7.3.11` - Python `3.8`
* PyPy `7.3.11` - Python `3.9`## Supported tags and respective `Dockerfile` links
* [`latest` (Dockerfile)](https://github.com/Robert-96/tox-docker/blob/main/Dockerfile)
## How to use this image
This image installs different versions of CPython and PyPy facilitating running [tox](https://tox.readthedocs.io/en/latest/) on a linux machine.
### Create a `Dockerfile` in your project
```dockerfile
FROM robert96/tox:latestCOPY . /app
WORKDIR /appRUN tox
```Then, run the commands to build and run the Docker image:
```
$ docker build -t my-tox-runner .
$ docker run --name my-tox-runner my-tox-runner
```## License
This project is licensed under the [MIT License](https://github.com/Robert-96/tox-docker/blob/main/LICENSE).