diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index 32d0b6492..134690de8 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 --no-cache python3-dev; else apk add --no-cache python3; fi && \ + if test "${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