diff options
| author | Ivan Gabaldon <igabaldon@inetol.net> | 2025-09-20 11:33:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-20 11:33:23 +0200 |
| commit | b7ecc1c240f92252f061745d287accc886f3a742 (patch) | |
| tree | e1f531fe23f55f2ec078462c90cddb04ad3e49dd /container/dist.dockerfile | |
| parent | 164167dea0a0823845de42188818e7f80262aa71 (diff) | |
[enh] container: reproducible layers (#5222)
* [enh] container: reproducible layers
We are not aiming for reproducibility compliance, but we look to make most
builder layers reproducible without caching at least for a short period of time
(until the builder's base image changes or the child dependencies of a
requirements.txt package are updated).
This feature is only available on Podman.
This targets https://github.com/searxng/searxng/pull/5086 main goal.
* [fix] misc: apply suggestions
Suggested: https://github.com/searxng/searxng/pull/5222#discussion_r2364630496
Suggested: https://github.com/searxng/searxng/pull/5222#discussion_r2364630511
* [enh] container: prevent useless layer
Diffstat (limited to 'container/dist.dockerfile')
| -rw-r--r-- | container/dist.dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/dist.dockerfile b/container/dist.dockerfile index 2270bdefd..b16f432e4 100644 --- a/container/dist.dockerfile +++ b/container/dist.dockerfile @@ -6,7 +6,7 @@ ARG CONTAINER_IMAGE_NAME="searxng" COPY --chown=searxng:searxng --from=localhost/$CONTAINER_IMAGE_ORGANIZATION/$CONTAINER_IMAGE_NAME:builder /usr/local/searxng/.venv/ ./.venv/ COPY --chown=searxng:searxng --from=localhost/$CONTAINER_IMAGE_ORGANIZATION/$CONTAINER_IMAGE_NAME:builder /usr/local/searxng/searx/ ./searx/ COPY --chown=searxng:searxng ./container/ ./ -COPY --chown=searxng:searxng --from=localhost/$CONTAINER_IMAGE_ORGANIZATION/$CONTAINER_IMAGE_NAME:builder /usr/local/searxng/version_frozen.py ./searx/ +#COPY --chown=searxng:searxng ./searx/version_frozen.py ./searx/ ARG CREATED="0001-01-01T00:00:00Z" ARG VERSION="unknown" |