From 35b28e0c4ea12356dc6513c4ab0f1b7d976b37a0 Mon Sep 17 00:00:00 2001 From: aptalca Date: Thu, 30 Dec 2021 21:31:30 -0500 Subject: [PATCH] pip ignore installed --- Dockerfile | 5 ++--- Dockerfile.aarch64 | 5 ++--- Dockerfile.armhf | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 714e1b4..37aeb96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,9 +47,8 @@ RUN \ python3 -m ensurepip && \ rm -rf /usr/lib/python*/ensurepip && \ cd /app/netbox && \ - pip3 install --no-cache-dir -U pip && \ - pip3 install --no-cache-dir wheel && \ - pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ -r requirements.txt && \ + pip3 install --no-cache-dir -U pip wheel && \ + pip3 install --no-cache-dir --ignore-installed --find-links https://wheel-index.linuxserver.io/alpine/ -r requirements.txt && \ echo "**** cleanup ****" && \ apk del --purge \ build-dependencies && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index ab507c5..977f06c 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -47,9 +47,8 @@ RUN \ python3 -m ensurepip && \ rm -rf /usr/lib/python*/ensurepip && \ cd /app/netbox && \ - pip3 install --no-cache-dir -U pip && \ - pip3 install --no-cache-dir wheel && \ - pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ -r requirements.txt && \ + pip3 install --no-cache-dir -U pip wheel && \ + pip3 install --no-cache-dir --ignore-installed --find-links https://wheel-index.linuxserver.io/alpine/ -r requirements.txt && \ echo "**** cleanup ****" && \ apk del --purge \ build-dependencies && \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 698617a..5410d18 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -47,9 +47,8 @@ RUN \ python3 -m ensurepip && \ rm -rf /usr/lib/python*/ensurepip && \ cd /app/netbox && \ - pip3 install --no-cache-dir -U pip && \ - pip3 install --no-cache-dir wheel && \ - pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ -r requirements.txt && \ + pip3 install --no-cache-dir -U pip wheel && \ + pip3 install --no-cache-dir --ignore-installed --find-links https://wheel-index.linuxserver.io/alpine/ -r requirements.txt && \ echo "**** cleanup ****" && \ apk del --purge \ build-dependencies && \