Skip to content

Commit

Permalink
[fix] docker: alpine - install apk py3-pydantic-core
Browse files Browse the repository at this point in the history
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: searxng#3887

Signed-off-by: Markus Heiser <[email protected]>
  • Loading branch information
return42 authored and Bnyro committed Oct 6, 2024
1 parent f00fa76 commit 5332d3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5332d3a

Please sign in to comment.