summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-10-05 14:11:57 +0200
committerBnyro <bnyro@tutanota.com>2024-10-06 11:59:57 +0200
commit5332d3a0b8f94a7a984d22cbcfa1fb9c34cb3ff9 (patch)
tree628788187e76eceede7f94ba6c666a09666d6afd /Dockerfile
parentf00fa76edafed0c1e660d6f0b92fa9be2b34dddb (diff)
downloadsearxng-5332d3a0b8f94a7a984d22cbcfa1fb9c34cb3ff9.tar.gz
searxng-5332d3a0b8f94a7a984d22cbcfa1fb9c34cb3ff9.zip
[fix] docker: alpine - install apk py3-pydantic-core
Alpine Linux uses musl libc (instead of glibc). However, there is no pre-build of the pydantic-core python package for musl lib on armv7. Alternatively this patch installs py3-pydantic-core from Alpine packages [1] [1] https://pkgs.alpinelinux.org/package/edge/community/armv7/py3-pydantic-core - closes: https://github.com/searxng/searxng/issues/3887 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 2a4d39591..3c3188094 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -44,6 +44,7 @@ RUN apk add --no-cache -t build-dependencies \
uwsgi \
uwsgi-python3 \
brotli \
+ py3-pydantic-core \
&& pip3 install --break-system-packages --no-cache -r requirements.txt \
&& apk del build-dependencies \
&& rm -rf /root/.cache