poetry-docker

Poetry

About

Poetry is a tool for dependency management and packaging in Python. This repository provides a container images for different supported stable versions of Python with Poetry preinstalled.

Usage

To run poetry use command: $POETRY_HOME/bin/poetry or simply poetry

Example

FROM getflow/python-poetry

COPY pyproject.toml poetry.lock ./

RUN $POETRY_HOME/bin/poetry config virtualenvs.create false && $POETRY_HOME/bin/poetry install --no-dev --no-interaction --no-ansi

Supported tags

latest - 1.8-python3.12, latest
stable - stable-python3.9, stable-python3.9-slim, stable-python3.9-alpine - stable-python3.10, stable-python3.10-slim, stable-python3.10-alpine - stable-python3.11, stable-python3.11-slim, stable-python3.11-alpine - stable-python3.12, stable-python3.12-slim, stable-python3.12-alpine
1.8 - 1.8-python3.9, 1.8-python3.9-slim, 1.8-python3.9-alpine - 1.8-python3.10, 1.8-python3.10-slim, 1.8-python3.10-alpine - 1.8-python3.11, 1.8-python3.11-slim, 1.8-python3.11-alpine - 1.8-python3.12, 1.8-python3.12-slim, 1.8-python3.12-alpine
1.7 - 1.7-python3.9, 1.7-python3.9-slim, 1.7-python3.9-alpine - 1.7-python3.10, 1.7-python3.10-slim, 1.7-python3.10-alpine - 1.7-python3.11, 1.7-python3.11-slim, 1.7-python3.11-alpine - 1.7-python3.12, 1.7-python3.12-slim, 1.7-python3.12-alpine
1.6 - 1.6-python3.9, 1.6-python3.9-slim, 1.6-python3.9-alpine - 1.6-python3.10, 1.6-python3.10-slim, 1.6-python3.10-alpine - 1.6-python3.11, 1.6-python3.11-slim, 1.6-python3.11-alpine - 1.6-python3.12, 1.6-python3.12-slim, 1.6-python3.12-alpine
1.5 - 1.5-python3.9, 1.5-python3.9-slim, 1.5-python3.9-alpine - 1.5-python3.10, 1.5-python3.10-slim, 1.5-python3.10-alpine - 1.5-python3.11, 1.5-python3.11-slim, 1.5-python3.11-alpine - 1.5-python3.12, 1.5-python3.12-slim, 1.5-python3.12-alpine
Unsupported tags - 1.2-* - 1.3-* - 1.4-*

Contact

[email protected]