diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2024-10-28 08:18:13 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-10-29 13:50:38 +0100 |
commit | f63f97c56c7716c560d2a35acc8939a5d6037dd5 (patch) | |
tree | 7ff65474bcf09871927571a4073a0d7e5eeb6292 /Dockerfile | |
parent | 163031c39486918b920452a7fcc910e7e74b6ded (diff) | |
download | searxng-f63f97c56c7716c560d2a35acc8939a5d6037dd5.tar.gz searxng-f63f97c56c7716c560d2a35acc8939a5d6037dd5.zip |
Revert "Fix for broken docker builds"
This reverts commit 4ef1c706f825ccb1190ebb2cfbf6a16db6b051d0.
Diffstat (limited to 'Dockerfile')
-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 |