Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
763e9aa70b | |||
d1c9bc1c01 | |||
9a948fde8e |
2 changed files with 6 additions and 4 deletions
|
@ -11,7 +11,7 @@ steps:
|
||||||
image: code.philo.ydns.eu/philorg/woodpecker-buildah
|
image: code.philo.ydns.eu/philorg/woodpecker-buildah
|
||||||
settings:
|
settings:
|
||||||
registry: code.philo.ydns.eu
|
registry: code.philo.ydns.eu
|
||||||
repository: philorg/test-woodpecker
|
repository: philorg/test-woodpecker-python
|
||||||
tags: ${CI_COMMIT_SHA}
|
tags: ${CI_COMMIT_SHA}
|
||||||
architectures: amd64
|
architectures: amd64
|
||||||
context: Containerfile
|
context: Containerfile
|
||||||
|
|
|
@ -4,11 +4,13 @@ FROM docker.io/python:alpine
|
||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
||||||
# Sync the project into a new environment, using the frozen lockfile
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN --mount=from=code.philorg.ydns.eu/uv:alpine,source=/usr/local/bin/uv,target=/bin/uv \
|
# Sync the project into a new environment, using the frozen lockfile
|
||||||
--mount=from=code.philorg.ydns.eu/uv:alpine,source=/usr/bin/git,target=/bin/git \
|
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 .
|
uv pip install --system .
|
||||||
|
|
||||||
ENTRYPOINT ["foo"]
|
ENTRYPOINT ["foo"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue