b
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/tag/test Pipeline failed
ci/woodpecker/tag/build unknown status

This commit is contained in:
phil 2025-06-24 12:43:29 +02:00
parent b0af67e0c5
commit caa5362397
2 changed files with 9 additions and 10 deletions

View file

@ -1,15 +1,16 @@
# Build: podman build -t code.philo.ydns.eu/k-net/knoc -f Containerfile
# Build: podman build -t code.philo.ydns.eu/philorg/test-woodpecker -f Containerfile
FROM docker.io/python:3.13-slim
#FROM docker.io/python:3.13-slim
FROM docker.io/python:alpine
#FROM ghcr.io/astral-sh/uv:python3.13-alpine
#RUN apk add --no-cache git
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/
COPY --from=docker.io/python:3.13 /usr/bin/git /usr/local/bin/git
#COPY --from=ghcr.io/astral-sh/uv:python3.13-alpine /usr/local/bin/uv /usr/local/bin/
COPY . /app
# Sync the project into a new environment, using the frozen lockfile
WORKDIR /app
RUN uv pip install --system .
RUN --mount=from=ghcr.io/astral-sh/uv:alpine,source=/usr/local/bin/uv,target=/bin/uv uv pip install --system .
ENTRYPOINT ["knoc"]
ENTRYPOINT ["foo"]

View file

@ -8,6 +8,7 @@ dependencies = []
[project.scripts]
foo = "test_woodpecker_ci.main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
@ -16,7 +17,4 @@ build-backend = "hatchling.build"
packages = ["src/test_woodpecker_ci"]
[dependency-groups]
dev = [
"httpx>=0.28.1",
"pytest>=8.4.1",
]
dev = ["httpx>=0.28.1", "pytest>=8.4.1"]