diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3695571 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +# Configure a Debian testing distro to run Tox for Python 2.7 and 3.4 +FROM debian:testing +MAINTAINER José Armando García Sancio +RUN apt-get update && \ + apt-get install -y python2.7 python3.4 python-pip && \ + apt-get clean +RUN pip install tox diff --git a/README.rst b/README.rst index 2bc6087..bad2400 100644 --- a/README.rst +++ b/README.rst @@ -65,6 +65,12 @@ Running Tests: > tox +#. Run tests using tox through docker:: + > CHECKOUT= \ + export DOCKER_REPO=mesosphere/python-tox \ + export DOCKER_TAG=v1 \ + sudo docker run -it -v $(CHECKOUT):/dcos-cli $(DOCKER_REPO):$(DOCKER_TAG) tox -c /dcos-cli/tox.ini + Notes ----- Submodule writing notes gathered so far: