Skip to content

MichalMazurek/python-poetry

Repository files navigation

Python & Poetry

Python Docker Images with Poetry for you.

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.

Installation

make install

you need latest version of Poetry install https://poetry.eustace.io

Make & Build

make all TAGS

Example:

make all latest 3.6 3.7

This will make images for python:latest, python:3.6, python:3.7.

Push to docker registry

make push {docker-registry or username in docker hub}

Example:

make push michalmazurek

This will push all built images to docker registry (with example above, to: michalmazurek/python-poetry:{TAG})

make push hub.example.com/user

This will push images to hub.example.com/user/python-poetry:{tag}

You can find currently built tags in ./tags.txt.

Command Line Interface

--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.

About

Docker image for python with poetry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published