diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2024-10-17 19:46:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-17 19:46:05 +0200 |
commit | 1f0fb2f20c61fe6ad2718948cc7498f049f541eb (patch) | |
tree | a508bccfe68bc261cdb72c83a0c7865521435bc8 | |
parent | 4ef1c706f825ccb1190ebb2cfbf6a16db6b051d0 (diff) | |
download | searxng-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-- | Dockerfile | 10 |
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 |