Try to fix ARM build errors

pull/241/head
RandomUser345 2 years ago
parent 14eba20d1c
commit fc382365d6

@ -60,7 +60,7 @@ RUN \
libc-dev \ libc-dev \
py3-pip \ py3-pip \
rust \ rust \
cargo \ cargo \
yt-dlp && \ yt-dlp && \
echo "*** install python packages ***" && \ echo "*** install python packages ***" && \
pip install --upgrade --no-cache-dir \ pip install --upgrade --no-cache-dir \
@ -86,7 +86,8 @@ RUN \
chmod g+w ${SMA_PATH}/config/sma.log && \ chmod g+w ${SMA_PATH}/config/sma.log && \
echo "************ install pip dependencies ************" && \ echo "************ install pip dependencies ************" && \
python3 -m pip install --user --upgrade pip && \ 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 local files
COPY root/ / COPY root/ /

@ -59,8 +59,8 @@ RUN \
python3-dev \ python3-dev \
libc-dev \ libc-dev \
py3-pip \ py3-pip \
rust \ rust \
cargo \ cargo \
yt-dlp && \ yt-dlp && \
echo "*** install python packages ***" && \ echo "*** install python packages ***" && \
pip install --upgrade --no-cache-dir \ pip install --upgrade --no-cache-dir \
@ -86,7 +86,8 @@ RUN \
chmod g+w ${SMA_PATH}/config/sma.log && \ chmod g+w ${SMA_PATH}/config/sma.log && \
echo "************ install pip dependencies ************" && \ echo "************ install pip dependencies ************" && \
python3 -m pip install --user --upgrade pip && \ 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 local files
COPY root/ / COPY root/ /

Loading…
Cancel
Save