summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2024-10-17 19:46:05 +0200
committerGitHub <noreply@github.com>2024-10-17 19:46:05 +0200
commit1f0fb2f20c61fe6ad2718948cc7498f049f541eb (patch)
treea508bccfe68bc261cdb72c83a0c7865521435bc8
parent4ef1c706f825ccb1190ebb2cfbf6a16db6b051d0 (diff)
downloadsearxng-revert-3936-master.tar.gz
searxng-revert-3936-master.zip
Revert "Fix for broken docker builds"revert-3936-master
This reverts commit 4ef1c706f825ccb1190ebb2cfbf6a16db6b051d0.
-rw-r--r--Dockerfile10
1 files 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