diff options
| author | Ivan Gabaldon <igabaldon@inetol.net> | 2025-09-14 10:36:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-14 10:36:21 +0200 |
| commit | a0d2ecf43466083925291e749ab9c2a451f6963d (patch) | |
| tree | 7a16f51ebf4a892a26e94ec6bd2dc5c2bff8153f /utils/lib_sxng_container.sh | |
| parent | 687121d58497ff170467d6b14988bde11d91516c (diff) | |
[enh] container: build with uv (#5199)
This commit replaces `pip` in container builds with `uv` pip compat
with a 1:1 parity. The only thing that changes is the installation speed of the
wheels, which seems to be considerably faster, although I haven't been able to
properly quantify this yet.
uv also gives us more tools to manage the cache. We can revert the prior cache
changes in `container.yml` as we won't have duplicated wheels anymore.
Diffstat (limited to 'utils/lib_sxng_container.sh')
| -rw-r--r-- | utils/lib_sxng_container.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/lib_sxng_container.sh b/utils/lib_sxng_container.sh index 65b2c4b9b..73947bdba 100644 --- a/utils/lib_sxng_container.sh +++ b/utils/lib_sxng_container.sh @@ -102,7 +102,8 @@ container.build() { # shellcheck disable=SC2086 "$container_engine" $params_build_builder \ - --build-arg="TIMESTAMP_SETTINGS=$(git log -1 --format="%cd" --date=unix -- ./searx/settings.yml)" \ + --build-arg="TIMESTAMP=$(git log -1 --date=format:'%Y%m%d%H%M.%S' --format='%ad')" \ + --build-arg="TIMESTAMP_SETTINGS=$(git log -1 --date=format:'%Y%m%d%H%M.%S' --format='%ad' ./searx/settings.yml)" \ --tag="localhost/$CONTAINER_IMAGE_ORGANIZATION/$CONTAINER_IMAGE_NAME:builder" \ --file="./container/builder.dockerfile" \ . |