mirror of
https://github.com/home-assistant/core
synced 2024-09-06 10:29:55 +02:00
![Pascal Vizeli](/assets/img/avatar_default.png)
* Python 3.10 / Base image 2022.06.01 * Update requirements * push opencv * we don't need numpy on core for now * Remove unused ignore Co-authored-by: Franck Nijhof <git@frenck.dev>
20 lines
703 B
Plaintext
20 lines
703 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}" \
|
|
pybluez \
|
|
pygatt[GATTTOOL] \
|
|
-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
|