/docker-tox

Tox Docker Image

Primary LanguageDockerfile

Supported tags and respective Dockerfile links

Build Status Docker Pulls

What is Tox?

Tox is a generic virtualenv management and test command line tool you can use for:

  • checking your package installs correctly with different Python versions and interpreters
  • running your tests in each of the environments, configuring your test tool of choice
  • acting as a frontend to Continuous Integration servers, greatly reducing boilerplate and merging CI and shell-based testing.

wikipedia.org/wiki/Tox (Python testing wrapper)

How to use this image.

Create a Dockerfile in your project

FROM masahide/tox

Then, run the commands to build and run the Docker image:

$ docker build -t my-tox .
$ docker run -it --rm -v "$PWD:/code" my-tox tox

Without a Dockerfile

If you don't want to include a Dockerfile in your project, it is sufficient to do the following:

$ docker run -it --rm -v "$PWD:/code" -w /code masahide/tox tox

License

View license information for the software contained in this image.

Supported Docker versions

This image is officially supported on Docker version 1.10.1.