Dockerfile.amd64 780 B

123456789101112131415161718
  1. FROM frigate-base
  2. LABEL maintainer "blakeb@blakeshome.com"
  3. # By default, use the i965 driver
  4. ENV LIBVA_DRIVER_NAME=i965
  5. # Install packages for apt repo
  6. RUN apt-get -qq update \
  7. && apt-get -qq install --no-install-recommends -y \
  8. # ffmpeg dependencies
  9. libgomp1 \
  10. # VAAPI drivers for Intel hardware accel
  11. libva-drm2 libva2 i965-va-driver vainfo intel-media-va-driver \
  12. ## Tensorflow lite
  13. && wget -q https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp38-cp38-linux_x86_64.whl \
  14. && python3.8 -m pip install tflite_runtime-2.1.0.post1-cp38-cp38-linux_x86_64.whl \
  15. && rm tflite_runtime-2.1.0.post1-cp38-cp38-linux_x86_64.whl \
  16. && rm -rf /var/lib/apt/lists/* \
  17. && (apt-get autoremove -y; apt-get autoclean -y)