Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ jobs:
- uses: actions/checkout@v6
with:
persist-credentials: false

- uses: docker/setup-docker-action@v5
with:
daemon-config: |
{
"debug": true,
"features": {
"containerd-snapshotter": true
}
}

- uses: docker/setup-buildx-action@v4

- uses: docker/login-action@v4
Expand All @@ -30,8 +41,12 @@ jobs:

- uses: docker/build-push-action@v7
with:
build-args: POETRY_VERSION=2.3.2
context: .
push: false
load: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64, linux/arm64
platforms: linux/amd64,linux/arm64

- run: docker run ${DOCKER_METADATA_OUTPUT_TAGS} -V
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:

- uses: docker/build-push-action@v7
with:
build-args: POETRY_VERSION=2.3.2
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down
14 changes: 11 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
FROM python:3.14-slim

LABEL org.opencontainers.image.description "Docker (base) image with Python 3.x with poetry"

ARG POETRY_VERSION=1.8.3
ARG POETRY_VERSION=2.3.2
ARG POETRY_HOME=/opt/poetry

LABEL org.opencontainers.image.title="python-poetry" \
org.opencontainers.image.description="Docker (base) image with Python 3.x with poetry" \
org.opencontainers.image.vendor="Planetary Quantum GmbH" \
org.opencontainers.image.licenses="BSD-2-Clause" \
org.opencontainers.image.source="https://github.com/hostwithquantum/python-poetry" \
org.opencontainers.image.documentation="https://github.com/hostwithquantum/python-poetry#readme" \
software.python.version="3.14" \
software.poetry.version=${POETRY_VERSION}


# making this explicit
USER root

Expand Down