From f38a347da306165c0555b2d5c9728d4870f77374 Mon Sep 17 00:00:00 2001 From: aptalca Date: Thu, 4 Nov 2021 10:03:04 -0400 Subject: [PATCH] Tell pip to ignore distro installed packages --- Dockerfile | 2 +- Dockerfile.aarch64 | 2 +- Dockerfile.armhf | 2 +- README.md | 1 + readme-vars.yml | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c7642c..56c2db2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,7 @@ RUN \ cd /app/calibre-web && \ pip3 install --no-cache-dir -U \ pip && \ - pip install --no-cache-dir -U --find-links https://wheel-index.linuxserver.io/ubuntu/ -r \ + pip install --no-cache-dir -U --ignore-installed --find-links https://wheel-index.linuxserver.io/ubuntu/ -r \ requirements.txt -r \ optional-requirements.txt && \ echo "***install kepubify" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index df26a2b..5a2b9ef 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -51,7 +51,7 @@ RUN \ cd /app/calibre-web && \ pip3 install --no-cache-dir -U \ pip && \ - pip install --no-cache-dir -U --find-links https://wheel-index.linuxserver.io/ubuntu/ -r \ + pip install --no-cache-dir -U --ignore-installed --find-links https://wheel-index.linuxserver.io/ubuntu/ -r \ requirements.txt -r \ optional-requirements.txt && \ echo "***install kepubify" && \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index f2e6b0a..460f5ee 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -53,7 +53,7 @@ RUN \ cd /app/calibre-web && \ pip3 install --no-cache-dir -U \ pip && \ - pip install --no-cache-dir -U --find-links https://wheel-index.linuxserver.io/ubuntu/ -r \ + pip install --no-cache-dir -U --ignore-installed --find-links https://wheel-index.linuxserver.io/ubuntu/ -r \ requirements.txt -r \ optional-requirements.txt && \ echo "***install kepubify" && \ diff --git a/README.md b/README.md index 6446a77..24bd8e0 100644 --- a/README.md +++ b/README.md @@ -262,6 +262,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **04.11.21:** - Fix pip arguments * **10.02.21:** - Add libxrandr2 * **25.01.21:** - Add nightly tag * **19.01.21:** - Add python3-pkg-resources diff --git a/readme-vars.yml b/readme-vars.yml index 9377974..d0a8575 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -77,6 +77,7 @@ app_setup_block: | # changelog changelogs: + - { date: "04.11.21:", desc: "Fix pip arguments"} - { date: "10.02.21:", desc: "Add libxrandr2"} - { date: "25.01.21:", desc: "Add nightly tag"} - { date: "19.01.21:", desc: "Add python3-pkg-resources"}