Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 30, 2024
2 parents 7a6b599 + fa4dfd4 commit dec2cb0
Show file tree
Hide file tree
Showing 12 changed files with 3,525 additions and 427 deletions.
13 changes: 3 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,9 @@ RUN apk add --no-cache -t build-dependencies \
tini \
uwsgi \
uwsgi-python3 \
brotli

# For 32bit arm architecture install pydantic from the alpine repos instead of requirements.txt
ARG TARGETARCH
RUN if [ "$TARGETARCH" = "arm" ]; then \
apk add --no-cache py3-pydantic && pip install --no-cache --break-system-packages -r <(grep -v '^pydantic' requirements.txt); \
else \
pip install --no-cache --break-system-packages -r requirements.txt; \
fi
RUN apk del build-dependencies \
brotli \
&& pip3 install --break-system-packages --no-cache -r requirements.txt \
&& apk del build-dependencies \
&& rm -rf /root/.cache

COPY --chown=searxng:searxng dockerfiles ./dockerfiles
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ redis==5.0.8
markdown-it-py==3.0.0
fasttext-predict==0.9.2.2
tomli==2.0.2; python_version < '3.11'
pydantic==2.9.2
msgspec==0.18.6
eval_type_backport; python_version < '3.9'
typer-slim==0.12.5
Loading

0 comments on commit dec2cb0

Please sign in to comment.