From 9a948fde8ebc842de874546e37af5a4b9eff501b Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 25 Jun 2025 15:00:40 +0200 Subject: [PATCH 1/3] Fix --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 17e619d..4c34d3b 100644 --- a/Containerfile +++ b/Containerfile @@ -7,8 +7,8 @@ COPY . /app # Sync the project into a new environment, using the frozen lockfile WORKDIR /app -RUN --mount=from=code.philorg.ydns.eu/uv:alpine,source=/usr/local/bin/uv,target=/bin/uv \ - --mount=from=code.philorg.ydns.eu/uv:alpine,source=/usr/bin/git,target=/bin/git \ +RUN --mount=from=code.philorg.ydns.eu/philorg/uv:alpine,source=/usr/local/bin/uv,target=/bin/uv \ + --mount=from=code.philorg.ydns.eu/philorg/uv:alpine,source=/usr/bin/git,target=/bin/git \ uv pip install --system . ENTRYPOINT ["foo"] From d1c9bc1c0177bf614a8f34dd4883bd3df776d17e Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 25 Jun 2025 15:33:43 +0200 Subject: [PATCH 2/3] Ficx --- Containerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Containerfile b/Containerfile index 4c34d3b..f875859 100644 --- a/Containerfile +++ b/Containerfile @@ -4,11 +4,13 @@ FROM docker.io/python:alpine COPY . /app -# Sync the project into a new environment, using the frozen lockfile WORKDIR /app -RUN --mount=from=code.philorg.ydns.eu/philorg/uv:alpine,source=/usr/local/bin/uv,target=/bin/uv \ - --mount=from=code.philorg.ydns.eu/philorg/uv:alpine,source=/usr/bin/git,target=/bin/git \ +# Sync the project into a new environment, using the frozen lockfile +RUN \ + --mount=from=code.philo.ydns.eu/philorg/uv,source=/usr/local/bin/uv,target=/bin/uv \ + --mount=from=code.philo.ydns.eu/philorg/uv,source=/usr/lib/libpcre2-8.so.0,target=/usr/lib/libpcre2-8.so.0 \ + --mount=from=code.philo.ydns.eu/philorg/uv,source=/usr/bin/git,target=/usr/bin/git \ uv pip install --system . ENTRYPOINT ["foo"] From 763e9aa70bf1bdfb5826c9e3718f4aa2e5ef2ba6 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 25 Jun 2025 15:37:29 +0200 Subject: [PATCH 3/3] Rename container --- .woodpecker/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index a5de771..f328164 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -11,7 +11,7 @@ steps: image: code.philo.ydns.eu/philorg/woodpecker-buildah settings: registry: code.philo.ydns.eu - repository: philorg/test-woodpecker + repository: philorg/test-woodpecker-python tags: ${CI_COMMIT_SHA} architectures: amd64 context: Containerfile