add rpi dockerfile

This commit is contained in:
Blake Blackshear 2020-09-28 12:29:31 -05:00
parent 2d89044bd3
commit 83f1e0d713
2 changed files with 19 additions and 2 deletions

View File

@ -15,9 +15,9 @@ RUN apt-get -qq update && apt-get -qq install --no-install-recommends -y \
&& pip3 install -U /wheels/*.whl \
&& echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" > /etc/apt/sources.list.d/coral-edgetpu.list \
&& wget -q -O - https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \
&& apt -qq update \
&& apt-get -qq update \
&& echo "libedgetpu1-max libedgetpu/accepted-eula boolean true" | debconf-set-selections \
&& apt -qq install --no-install-recommends -y \
&& apt-get -qq install --no-install-recommends -y \
libedgetpu1-max \
&& rm -rf /var/lib/apt/lists/* /wheels \
&& (apt-get autoremove -y; apt-get autoclean -y)

17
docker/Dockerfile.rpi Normal file
View File

@ -0,0 +1,17 @@
FROM frigate-base
LABEL maintainer "blakeb@blakeshome.com"
ENV DEBIAN_FRONTEND=noninteractive
# Install packages for apt repo
RUN apt-get -qq update \
&& apt-get -qq install --no-install-recommends -y \
ffmpeg \
# runtime dependencies
libopenexr24 \
libgstreamer1.0-0 \
libgstreamer-plugins-base1.0-0 \
libopenblas-base \
## Tensorflow lite
&& pip3 install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp38-cp38-linux_armv7l.whl \
&& rm -rf /var/lib/apt/lists/* \
&& (apt-get autoremove -y; apt-get autoclean -y)