From 16293132e35621f9e32491b2b129fa0758e1932f Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Wed, 22 Oct 2025 14:38:59 +0200 Subject: [mod] ci: use custom static podman (#5354) We only need updated podman on `build`. `test` and `release` can use image provided container engine binaries. --- container/builder.dockerfile | 3 +-- container/dist.dockerfile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'container') diff --git a/container/builder.dockerfile b/container/builder.dockerfile index 9a2d46170..eced10428 100644 --- a/container/builder.dockerfile +++ b/container/builder.dockerfile @@ -19,8 +19,7 @@ RUN --mount=type=cache,id=uv,target=/root/.cache/uv set -eux -o pipefail; \ find ./.venv/lib/python*/site-packages/*.dist-info/ -type f -name "RECORD" -exec sort -t, -k1,1 -o {} {} \;; \ find ./.venv/ -exec touch -h --date="@$TIMESTAMP_VENV" {} + -# use "--exclude=./searx/version_frozen.py" when actions/runner-images updates to Podman 5.0+ -COPY ./searx/ ./searx/ +COPY --exclude=./searx/version_frozen.py ./searx/ ./searx/ ARG TIMESTAMP_SETTINGS="0" diff --git a/container/dist.dockerfile b/container/dist.dockerfile index 10ad0d88f..f2d4b0fee 100644 --- a/container/dist.dockerfile +++ b/container/dist.dockerfile @@ -7,7 +7,7 @@ FROM ghcr.io/searxng/base:searxng AS dist COPY --chown=977:977 --from=builder /usr/local/searxng/.venv/ ./.venv/ COPY --chown=977:977 --from=builder /usr/local/searxng/searx/ ./searx/ COPY --chown=977:977 ./container/ ./ -#COPY --chown=977:977 ./searx/version_frozen.py ./searx/ +COPY --chown=977:977 ./searx/version_frozen.py ./searx/ ARG CREATED="0001-01-01T00:00:00Z" ARG VERSION="unknown" -- cgit v1.2.3