Sign inSign up

michalmazurek/python-poetry

By michalmazurek

Updated over 5 years ago

Python Docker Images with Poetry for you.

Image
0

7.9K

michalmazurek/python-poetry repository overview

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

Will all build images to docker registry. 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.

Tag summary

Content type

Image

Digest

Size

349.6 MB

Last updated

over 7 years ago

docker pull michalmazurek/python-poetry