Skip to content

Commit e22e754

Browse files
authored
Merge pull request #25 from linuxserver/pip
pip ignore installed
2 parents a1a1568 + 35b28e0 commit e22e754

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

Dockerfile

+2-3
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

+2-3
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

+2-3
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)