Update Dockerfile

This commit is contained in:
Alexandre
2023-12-09 14:45:57 +01:00
committed by GitHub
parent 54e376c250
commit 0768cd7fc3

View File

@@ -53,6 +53,11 @@ ENV QBM_DOCKER True
ENV QBT_SKIP_QB_VERSION_CHECK True
RUN \
# Allow specific arch
BUILD_ARCH=$(uname -m) && \
echo "${BUILD_ARCH}" && \
BUILD_ARCH=${BUILD_ARCH:-x86} && \
if [[ "${BUILD_ARCH}" == *aarch64* ]]; then apk add python3-dev; fi && \
# Install qbit_manage
mkdir -p /qbit_manage && \
curl -o /tmp/qbit_manage.tar.gz -L "https://github.com/StuffAnThings/qbit_manage/archive/master.tar.gz" && \