summaryrefslogtreecommitdiff
path: root/container
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-10-22 14:38:59 +0200
committerGitHub <noreply@github.com>2025-10-22 14:38:59 +0200
commit16293132e35621f9e32491b2b129fa0758e1932f (patch)
tree9112d8961b7c78c00d9f4b5a6b82b8687ffe9131 /container
parentf70120b0b99354785c5d5c9fda91565ad32ec31f (diff)
[mod] ci: use custom static podman (#5354)
We only need updated podman on `build`. `test` and `release` can use image provided container engine binaries.
Diffstat (limited to 'container')
-rw-r--r--container/builder.dockerfile3
-rw-r--r--container/dist.dockerfile2
2 files changed, 2 insertions, 3 deletions
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"