mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
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.
26 lines
490 B
YAML
26 lines
490 B
YAML
contents:
|
|
repositories:
|
|
- https://dl-cdn.alpinelinux.org/alpine/edge/main
|
|
- https://dl-cdn.alpinelinux.org/alpine/edge/community
|
|
packages:
|
|
- alpine-base
|
|
- build-base
|
|
- python3-dev
|
|
- uv
|
|
- brotli
|
|
|
|
entrypoint:
|
|
command: /bin/sh -l
|
|
|
|
work-dir: /usr/local/searxng/
|
|
|
|
environment:
|
|
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt
|
|
HISTFILE: /dev/null
|
|
|
|
archs:
|
|
- x86_64
|
|
- aarch64
|
|
- armv7
|