Dockerfile.amd64 1.0 KB

123456789101112131415161718192021
  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 wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | apt-key add - \
  7. && echo 'deb [arch=amd64] https://repositories.intel.com/graphics/ubuntu focal main' > /etc/apt/sources.list.d/intel-graphics.list
  8. RUN apt-get -qq update \
  9. && apt-get -qq install --no-install-recommends -y \
  10. # ffmpeg dependencies
  11. libgomp1 \
  12. # VAAPI drivers for Intel hardware accel
  13. libva-drm2 libva2 libmfx1 i965-va-driver vainfo intel-media-va-driver-non-free mesa-va-drivers \
  14. ## Tensorflow lite
  15. && wget -q https://github.com/google-coral/pycoral/releases/download/release-frogfish/tflite_runtime-2.5.0-cp38-cp38-linux_x86_64.whl \
  16. && python3.8 -m pip install tflite_runtime-2.5.0-cp38-cp38-linux_x86_64.whl \
  17. && rm tflite_runtime-2.5.0-cp38-cp38-linux_x86_64.whl \
  18. && rm -rf /var/lib/apt/lists/* \
  19. && (apt-get autoremove -y; apt-get autoclean -y)