Skip to content

Commit 35b28e0

Browse files
committed
pip ignore installed
1 parent a1a1568 commit 35b28e0

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ RUN \
4747
python3 -m ensurepip && \
4848
rm -rf /usr/lib/python*/ensurepip && \
4949
cd /app/netbox && \
50-
pip3 install --no-cache-dir -U pip && \
51-
pip3 install --no-cache-dir wheel && \
52-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ -r requirements.txt && \
50+
pip3 install --no-cache-dir -U pip wheel && \
51+
pip3 install --no-cache-dir --ignore-installed --find-links https://wheel-index.linuxserver.io/alpine/ -r requirements.txt && \
5352
echo "**** cleanup ****" && \
5453
apk del --purge \
5554
build-dependencies && \

Dockerfile.aarch64

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ RUN \
4747
python3 -m ensurepip && \
4848
rm -rf /usr/lib/python*/ensurepip && \
4949
cd /app/netbox && \
50-
pip3 install --no-cache-dir -U pip && \
51-
pip3 install --no-cache-dir wheel && \
52-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ -r requirements.txt && \
50+
pip3 install --no-cache-dir -U pip wheel && \
51+
pip3 install --no-cache-dir --ignore-installed --find-links https://wheel-index.linuxserver.io/alpine/ -r requirements.txt && \
5352
echo "**** cleanup ****" && \
5453
apk del --purge \
5554
build-dependencies && \

Dockerfile.armhf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ RUN \
4747
python3 -m ensurepip && \
4848
rm -rf /usr/lib/python*/ensurepip && \
4949
cd /app/netbox && \
50-
pip3 install --no-cache-dir -U pip && \
51-
pip3 install --no-cache-dir wheel && \
52-
pip3 install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ -r requirements.txt && \
50+
pip3 install --no-cache-dir -U pip wheel && \
51+
pip3 install --no-cache-dir --ignore-installed --find-links https://wheel-index.linuxserver.io/alpine/ -r requirements.txt && \
5352
echo "**** cleanup ****" && \
5453
apk del --purge \
5554
build-dependencies && \

0 commit comments

Comments
 (0)