diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index 68531b7b4..a0f5ad088 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -84,7 +84,7 @@ RUN \ BUILD_ARCH=$(uname -m) && \ echo "${BUILD_ARCH}" && \ BUILD_ARCH=${BUILD_ARCH:-x86} && \ - if [[ "${BUILD_ARCH}" != *amd64* ]]; then apk add python3-dev; else apk add python3; fi && \ + if [[ "${BUILD_ARCH}" != *amd64* ]]; then apk add --no-cache python3-dev; else apk add --no-cache python3; fi && \ ln -sf python3 /usr/bin/python && \ apk add --no-cache py3-pip gcc musl-dev && \ pip3 install --break-system-packages --no-cache-dir --ignore-installed --upgrade --requirement /qbit_manage/requirements.txt