mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
16 lines
697 B
Docker
16 lines
697 B
Docker
FROM frigate-base
|
|
LABEL maintainer "blakeb@blakeshome.com"
|
|
|
|
# Install packages for apt repo
|
|
RUN apt-get -qq update \
|
|
&& apt-get -qq install --no-install-recommends -y \
|
|
# ffmpeg dependencies
|
|
libgomp1 \
|
|
# VAAPI drivers for Intel hardware accel
|
|
libva-drm2 libva2 i965-va-driver vainfo \
|
|
## Tensorflow lite
|
|
&& wget -q https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp38-cp38-linux_x86_64.whl \
|
|
&& python3.8 -m pip install tflite_runtime-2.1.0.post1-cp38-cp38-linux_x86_64.whl \
|
|
&& rm tflite_runtime-2.1.0.post1-cp38-cp38-linux_x86_64.whl \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& (apt-get autoremove -y; apt-get autoclean -y) |