mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 06:14:07 +02:00
Update Dockerfile
This commit is contained in:
@@ -84,7 +84,7 @@ RUN \
|
|||||||
BUILD_ARCH=$(uname -m) && \
|
BUILD_ARCH=$(uname -m) && \
|
||||||
echo "${BUILD_ARCH}" && \
|
echo "${BUILD_ARCH}" && \
|
||||||
BUILD_ARCH=${BUILD_ARCH:-x86} && \
|
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 && \
|
ln -sf python3 /usr/bin/python && \
|
||||||
apk add --no-cache py3-pip gcc musl-dev && \
|
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
|
pip3 install --break-system-packages --no-cache-dir --ignore-installed --upgrade --requirement /qbit_manage/requirements.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user