Use legacy pip resolver in machine builds (#66094)

This commit is contained in:
Franck Nijhof
2022-02-08 19:18:04 +01:00
committed by GitHub
parent a7fd477c64
commit 1bc82e2f85
7 changed files with 13 additions and 6 deletions

View File

@ -7,7 +7,8 @@ RUN apk --no-cache add \
usbutils \
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
&& pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
RPi.GPIO -c /usr/src/homeassistant/requirements_all.txt
RPi.GPIO -c /usr/src/homeassistant/requirements_all.txt \
--use-deprecated=legacy-resolver
##
# Set symlinks for raspberry pi camera binaries.