This infrastructure package gathers the specifications of Docker images that can be used to develop and test all sorts of Python-based applications.
Please install Docker on your computer first. See https://docs.docker.com/get-docker/ for details.
To build a custom image, just type:
make hypermodern_tag=YOUR_TAG
where you replace YOUR_TAG
by the label you want to use for the image. The
default tag is set for publication on the original author's DockerHub
repository.
For more information about how to build and publish Docker images, please consult the official documentation of Docker.
The image provides a container with pre-installed Python interpreters managed with pyenv. It is possible to install many more Python environments, please consult the documentation of pyenv for details.
The rest of the environment is based on the Hypermodern Python turorial, from Claudio Jolowicz. All the details about developing Python applications within this framework are explained there. Most of the infrastructure relies on poetry and nox.
Contributions and customizations are welcome. Before changing anything, please create an issue summarizing your intentions.