mirror of
https://github.com/home-assistant/core
synced 2024-09-06 10:29:55 +02:00
18 lines
673 B
Plaintext
18 lines
673 B
Plaintext
ARG BUILD_VERSION
|
|
FROM homeassistant/armv7-homeassistant:$BUILD_VERSION
|
|
|
|
RUN apk --no-cache add \
|
|
raspberrypi \
|
|
raspberrypi-libs \
|
|
usbutils \
|
|
&& pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
|
|
bluepy pybluez -c /usr/src/homeassistant/requirements_all.txt \
|
|
--use-deprecated=legacy-resolver
|
|
|
|
##
|
|
# Set symlinks for raspberry pi binaries.
|
|
RUN ln -sv /opt/vc/bin/raspistill /usr/local/bin/raspistill \
|
|
&& ln -sv /opt/vc/bin/raspivid /usr/local/bin/raspivid \
|
|
&& ln -sv /opt/vc/bin/raspividyuv /usr/local/bin/raspividyuv \
|
|
&& ln -sv /opt/vc/bin/raspiyuv /usr/local/bin/raspiyuv
|