From f63f97c56c7716c560d2a35acc8939a5d6037dd5 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 28 Oct 2024 08:18:13 +0100 Subject: [PATCH] Revert "Fix for broken docker builds" This reverts commit 4ef1c706f825ccb1190ebb2cfbf6a16db6b051d0. --- Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index c12391276..2a4d39591 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,14 +44,8 @@ RUN apk add --no-cache -t build-dependencies \ 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 \ + && pip3 install --break-system-packages --no-cache -r requirements.txt \ + && apk del build-dependencies \ && rm -rf /root/.cache COPY --chown=searxng:searxng dockerfiles ./dockerfiles