mirror of
https://github.com/searxng/searxng.git
synced 2024-12-23 17:50:29 +00:00
[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>
This commit is contained in:
parent
f00fa76eda
commit
5332d3a0b8
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ RUN apk add --no-cache -t build-dependencies \
|
||||||
uwsgi \
|
uwsgi \
|
||||||
uwsgi-python3 \
|
uwsgi-python3 \
|
||||||
brotli \
|
brotli \
|
||||||
|
py3-pydantic-core \
|
||||||
&& pip3 install --break-system-packages --no-cache -r requirements.txt \
|
&& pip3 install --break-system-packages --no-cache -r requirements.txt \
|
||||||
&& apk del build-dependencies \
|
&& apk del build-dependencies \
|
||||||
&& rm -rf /root/.cache
|
&& rm -rf /root/.cache
|
||||||
|
|
Loading…
Reference in a new issue