Python Docker Images with Poetry for you.
- Python https://www.python.org
- Poetry https://poetry.eustace.io
The goal of this project is to easily build and push python&poetry images to docker registry so you can use it in your CI/CD to build packages.
make installyou need latest version of Poetry install https://poetry.eustace.io
make all TAGSExample:
make all latest 3.6 3.7This will make images for python:latest, python:3.6, python:3.7.
make push {docker-registry or username in docker hub}Example:
make push michalmazurekThis will push all built images to docker registry (with example above, to: michalmazurek/python-poetry:{TAG})
make push hub.example.com/userThis will push images to hub.example.com/user/python-poetry:{tag}
You can find currently built tags in
./tags.txt.
--help it for more info.
Usage: dockerfiles.py [OPTIONS] COMMAND [ARGS]...
Dockerfile tool.
Options:
--help Show this message and exit.
Commands:
build Build docker images.
clean
make Generate docker files for all tags.
push Push docker images.