You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Joseph Hale 2486ca8bc7 Build all supported Poetry versions in CI.
This commit adds a build matrix
(https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs)
to build all the latest stable versions of Poetry across all versions of
Python that Poetry supports.
2 years ago
.github/workflows Build all supported Poetry versions in CI. 2 years ago
Dockerfile Build all supported Poetry versions in CI. 2 years ago
LICENSE Create `python-poetry` Docker build scripts 2 years ago
Makefile Build all supported Poetry versions in CI. 2 years ago
README.md Build all supported Poetry versions in CI. 2 years ago

README.md

Python Poetry in Docker

Robust, lightweight, configurable python-poetry Docker images for any use case.

NOTE: This repository is not an official project from the creators of Python Poetry. Hopefully you find it useful anyway!

Quickstart

Most of the time, you will be using these images as a base image for your own Dockerfiles (e.g. devcontainers, building Python applications, etc.)

FROM jhale1805/python-poetry
# Your build steps here.

However, you can also download and run the latest python-poetry Docker image by pulling it from DockerHub.

docker pull jhale1805/python-poetry
docker run --rm jhale1805/python-poetry poetry --version

There are tagged images for all the latest stable versions of python-poetry for all versions of Python that Poetry supports (>3.7). You can see the full tag list on DockerHub.

Build Your Own Image

This repo automatically builds images for the latest stable versions of python-poetry for all supported versions of Python (>3.7).

However, if you need a combination that isn't automatically built, you can easily create your own by modifying the command below to contain your preferred values for POETRY_VERSION and PYTHON_IMAGE_TAG:

make build-version \
    POETRY_VERSION="1.1.13" \
    PYTHON_IMAGE_TAG="3.10-slim"