2020-09-28 14:43:04 +02:00
|
|
|
FROM frigate-base
|
2020-09-26 02:36:22 +02:00
|
|
|
LABEL maintainer "blakeb@blakeshome.com"
|
|
|
|
|
2020-10-25 18:15:50 +01:00
|
|
|
# By default, use the i965 driver
|
|
|
|
ENV LIBVA_DRIVER_NAME=i965
|
2020-09-26 02:36:22 +02:00
|
|
|
# Install packages for apt repo
|
2020-09-28 14:43:04 +02:00
|
|
|
RUN apt-get -qq update \
|
|
|
|
&& apt-get -qq install --no-install-recommends -y \
|
2020-10-07 23:25:54 +02:00
|
|
|
# ffmpeg dependencies
|
|
|
|
libgomp1 \
|
2020-09-26 02:36:22 +02:00
|
|
|
# VAAPI drivers for Intel hardware accel
|
2020-11-26 03:50:08 +01:00
|
|
|
libva-drm2 libva2 i965-va-driver vainfo intel-media-va-driver mesa-va-drivers \
|
2020-09-26 02:36:22 +02:00
|
|
|
## Tensorflow lite
|
2020-11-07 19:08:24 +01:00
|
|
|
&& wget -q https://github.com/google-coral/pycoral/releases/download/release-frogfish/tflite_runtime-2.5.0-cp38-cp38-linux_x86_64.whl \
|
|
|
|
&& python3.8 -m pip install tflite_runtime-2.5.0-cp38-cp38-linux_x86_64.whl \
|
|
|
|
&& rm tflite_runtime-2.5.0-cp38-cp38-linux_x86_64.whl \
|
2020-09-26 02:36:22 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
|
|
&& (apt-get autoremove -y; apt-get autoclean -y)
|