Sign inSign up

thekevjames/nox

By thekevjames

Updated 7 months ago

Provides a docker container for the `nox` project and all supported Python versions.

Image
3

100K+

thekevjames/nox repository overview

Docker-Nox

Docker Pulls

:::: warning ::: title Warning :::

This project is now deprecated. I recommend switching to a manylinux base image matching your usecase, which you can find here: https://github.com/pypa/manylinux ::::

Description

Provides an (unofficial) docker container for the nox tool along with all currently supported versions of Python. To be more specific: this contains the latest patch for each non-EOL'ed minor version.

Note that the nox tool was formerly known as nox-automation, so older tags of this image exist which reference nox-automation releases rather than nox releases.

Note as well that I am not the maintainer of nox itself; please report any issues with the tool upstream.

You can find the source code in this Github repo.

Usage

This image is meant to be used as a development environment or in CI systems. For example, if you use CircleCI, you might have:

test:
    docker:
        - image: thekevjames/nox:2019.11.9
    steps:
        - checkout
        - run: nox

To run your tests locally, you could do:

docker run --rm -it -v $(pwd):/src thekevjames/nox:2018.10.9 nox -f src/noxfile.py

or via quay.io:

docker run --rm -it -v $(pwd):/src quay.io/thekevjames/nox:2018.10.9 nox -f src/noxfile.py

Or, to maintain your nox cache between runs:

docker run --rm -it -v $(pwd):/src thekevjames/nox:2018.10.9 bash
$ nox -f src/noxfile.py
# repeat as necessary

For full usage information, see the nox documentation.

Tag summary

Content type

Image

Digest

sha256:7c8e1bcad

Size

375.1 MB

Last updated

7 months ago

docker pull thekevjames/nox