tell pip to ignore distro installed packages

This commit is contained in:
aptalca 2021-11-04 10:07:36 -04:00
parent 0c47de1cc8
commit 8fadeaaf04
5 changed files with 5 additions and 3 deletions

View File

@ -44,7 +44,7 @@ RUN \
cd /app/calibre-web && \ cd /app/calibre-web && \
pip3 install --no-cache-dir -U \ pip3 install --no-cache-dir -U \
pip && \ 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 \ requirements.txt -r \
optional-requirements.txt && \ optional-requirements.txt && \
echo "***install kepubify" && \ echo "***install kepubify" && \

View File

@ -51,7 +51,7 @@ RUN \
cd /app/calibre-web && \ cd /app/calibre-web && \
pip3 install --no-cache-dir -U \ pip3 install --no-cache-dir -U \
pip && \ 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 \ requirements.txt -r \
optional-requirements.txt && \ optional-requirements.txt && \
echo "***install kepubify" && \ echo "***install kepubify" && \

View File

@ -53,7 +53,7 @@ RUN \
cd /app/calibre-web && \ cd /app/calibre-web && \
pip3 install --no-cache-dir -U \ pip3 install --no-cache-dir -U \
pip && \ 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 \ requirements.txt -r \
optional-requirements.txt && \ optional-requirements.txt && \
echo "***install kepubify" && \ echo "***install kepubify" && \

View File

@ -265,6 +265,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions ## Versions
* **04.11.21:** - Update pip arguments to ignore distro installed packages.
* **24.06.21:** - Add note on optional OAUTHLIB_RELAX_TOKEN_SCOPE for Google OAUTH support. * **24.06.21:** - Add note on optional OAUTHLIB_RELAX_TOKEN_SCOPE for Google OAUTH support.
* **17.05.21:** - Add linuxserver wheel index. * **17.05.21:** - Add linuxserver wheel index.
* **10.02.21:** - Add libxrandr2 * **10.02.21:** - Add libxrandr2

View File

@ -79,6 +79,7 @@ app_setup_block: |
# changelog # changelog
changelogs: changelogs:
- { date: "04.11.21:", desc: "Update pip arguments to ignore distro installed packages."}
- { date: "24.06.21:", desc: "Add note on optional OAUTHLIB_RELAX_TOKEN_SCOPE for Google OAUTH support."} - { date: "24.06.21:", desc: "Add note on optional OAUTHLIB_RELAX_TOKEN_SCOPE for Google OAUTH support."}
- { date: "17.05.21:", desc: "Add linuxserver wheel index."} - { date: "17.05.21:", desc: "Add linuxserver wheel index."}
- { date: "10.02.21:", desc: "Add libxrandr2"} - { date: "10.02.21:", desc: "Add libxrandr2"}