From 4e40ddc4be8d9f72f64050efc29f9f45fb1c0d22 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Fri, 12 May 2023 17:41:04 +0100 Subject: [PATCH] Use wheel index for pip installs --- Dockerfile | 4 ++-- Dockerfile.aarch64 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index df16e8f..e1ebf6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,7 +64,7 @@ RUN \ apprise \ pynzb \ requests && \ - pip install -U --no-cache-dir -r requirements.txt && \ + pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.18 -r requirements.txt && \ echo "**** install nzb-notify ****" && \ NZBNOTIFY_VERSION=$(curl -s https://api.github.com/repos/caronc/nzb-notify/releases/latest \ | awk '/tag_name/{print $4;exit}' FS='[""]') && \ @@ -76,7 +76,7 @@ RUN \ /tmp/nzbnotify.tar.gz -C \ /app/nzbnotify --strip-components=1 && \ cd /app/nzbnotify && \ - pip install -U --no-cache-dir -r requirements.txt && \ + pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.18 -r requirements.txt && \ echo "**** cleanup ****" && \ apk del --purge \ build-dependencies && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 6820c4c..0e2b723 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -64,7 +64,7 @@ RUN \ apprise \ pynzb \ requests && \ - pip install -U --no-cache-dir -r requirements.txt && \ + pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.18 -r requirements.txt && \ echo "**** install nzb-notify ****" && \ NZBNOTIFY_VERSION=$(curl -s https://api.github.com/repos/caronc/nzb-notify/releases/latest \ | awk '/tag_name/{print $4;exit}' FS='[""]') && \ @@ -76,7 +76,7 @@ RUN \ /tmp/nzbnotify.tar.gz -C \ /app/nzbnotify --strip-components=1 && \ cd /app/nzbnotify && \ - pip install -U --no-cache-dir -r requirements.txt && \ + pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.18 -r requirements.txt && \ echo "**** cleanup ****" && \ apk del --purge \ build-dependencies && \