From fc382365d64150898d576f1928f15baa0f8bd05b Mon Sep 17 00:00:00 2001 From: RandomUser345 Date: Tue, 16 May 2023 14:07:19 +0200 Subject: [PATCH] Try to fix ARM build errors --- arm32v7.dockerfile | 5 +++-- arm64v8.dockerfile | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/arm32v7.dockerfile b/arm32v7.dockerfile index d84a9de..83791c1 100644 --- a/arm32v7.dockerfile +++ b/arm32v7.dockerfile @@ -60,7 +60,7 @@ RUN \ libc-dev \ py3-pip \ rust \ - cargo \ + cargo \ yt-dlp && \ echo "*** install python packages ***" && \ pip install --upgrade --no-cache-dir \ @@ -86,7 +86,8 @@ RUN \ chmod g+w ${SMA_PATH}/config/sma.log && \ echo "************ install pip dependencies ************" && \ python3 -m pip install --user --upgrade pip && \ - pip3 install -r ${SMA_PATH}/setup/requirements.txt + pip3 install -r ${SMA_PATH}/setup/requirements.txt && \ + apk del cargo rust # copy local files COPY root/ / diff --git a/arm64v8.dockerfile b/arm64v8.dockerfile index 9f0df62..1281fdc 100644 --- a/arm64v8.dockerfile +++ b/arm64v8.dockerfile @@ -59,8 +59,8 @@ RUN \ python3-dev \ libc-dev \ py3-pip \ - rust \ - cargo \ + rust \ + cargo \ yt-dlp && \ echo "*** install python packages ***" && \ pip install --upgrade --no-cache-dir \ @@ -86,7 +86,8 @@ RUN \ chmod g+w ${SMA_PATH}/config/sma.log && \ echo "************ install pip dependencies ************" && \ python3 -m pip install --user --upgrade pip && \ - pip3 install -r ${SMA_PATH}/setup/requirements.txt + pip3 install -r ${SMA_PATH}/setup/requirements.txt && \ + apk del cargo rust # copy local files COPY root/ /