poetry
Entorno de ejecución · Build tool · standard · v2.4.1
Imagen base de Python con Poetry para la gestión de dependencias y el empaquetado, usada como etapa de compilación para proyectos Python. Línea 2.
Informe de seguridad (Trivy)
Informe de seguridad (Trivy) · poetry 2.4.1
Versiones publicadas
1 etiquetaCada etiqueta es un índice multiarquitectura (amd64 + arm64) fijado por digest. Etiquetada por versión, nunca :latest.
| Versión | Tamaño | Publicada | Digest |
|---|---|---|---|
| 2.4.1última | 47.2 MB | 2026-07-26 | sha256:f438a2543215… |
Úsala como imagen base
Refiérela en la línea FROM de tu Dockerfile. Sin root, sistema de archivos raíz de solo lectura, compilada para amd64 y arm64.
FROM ghcr.io/quenchworks/images/poetry:2.4.1O descárgala directamente
docker pull ghcr.io/quenchworks/images/poetry:2.4.1- Línea de versión
- 2.4.1
- Línea más reciente
- 2.4.1
- Arquitecturas
- amd64, arm64
- Se ejecuta como
- nonroot (uid 1001)
- Sistema de archivos raíz
- solo lectura
- Licencia
- MIT
Verifica la cadena de suministro
Esta imagen está firmada con cosign y lleva un SBOM SPDX y una atestación de procedencia de compilación SLSA en el mismo digest. Comprueba las tres antes de construir sobre ella:
# 1. signature — built and signed by QuenchWorks CI
cosign verify ghcr.io/quenchworks/images/poetry:2.4.1 \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
# 2. SLSA build provenance — which workflow built it, from what
cosign verify-attestation --type https://slsa.dev/provenance/v1 ghcr.io/quenchworks/images/poetry:2.4.1 \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
# 3. SPDX SBOM — the package inventory
cosign verify-attestation --type https://spdx.dev/Document/v2.3 ghcr.io/quenchworks/images/poetry:2.4.1 \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comConsulta la guía de SBOM y procedencia para leer el SBOM y usar estas comprobaciones en CI.
Dockerfile recomendado para 2.4.1
Poetry leads: it installs the locked, production-only dependency set into an in-project venv, then a clean python base receives that venv and the app. Poetry never ships in the runtime image.
# Build stage: Poetry installs the main group into an in-project venv.FROM ghcr.io/quenchworks/images/poetry:2.4.1 AS buildUSER rootWORKDIR /appENV POETRY_VIRTUALENVS_IN_PROJECT=true \ POETRY_NO_INTERACTION=1 \ POETRY_CACHE_DIR=/tmp/poetry
COPY pyproject.toml poetry.lock ./RUN ["poetry", "install", "--only", "main", "--no-root"]COPY . .RUN ["poetry", "install", "--only", "main"]
# Runtime stage: copy the venv + app onto a clean python base, nonroot.FROM ghcr.io/quenchworks/images/python:3.14.6 AS runtimeWORKDIR /appENV PATH="/app/.venv/bin:$PATH" \ PYTHONUNBUFFERED=1COPY --from=build /app/.venv /app/.venvCOPY --from=build /app /appUSER 1001EXPOSE 8000CMD ["python", "-m", "app"]Este Dockerfile está fijado a la línea 2.4.1 . Para el recorrido línea por línea y las variantes de ecosistema (npm/Yarn, pip/uv/Poetry, Maven/Gradle), consulta la guía Crear una app de Python.
Proyecto original: https://python-poetry.org