mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	update for coral updates
This commit is contained in:
		
							parent
							
								
									a94b61ef91
								
							
						
					
					
						commit
						4818c08fe2
					
				@ -16,8 +16,6 @@ RUN apt-get -qq update \
 | 
				
			|||||||
    libpng16-16 \
 | 
					    libpng16-16 \
 | 
				
			||||||
    libtiff5 \
 | 
					    libtiff5 \
 | 
				
			||||||
    libdc1394-22 \
 | 
					    libdc1394-22 \
 | 
				
			||||||
    ## Tensorflow lite
 | 
					 | 
				
			||||||
    && pip3 install https://github.com/google-coral/pycoral/releases/download/release-frogfish/tflite_runtime-2.5.0-cp38-cp38-linux_aarch64.whl \
 | 
					 | 
				
			||||||
    && rm -rf /var/lib/apt/lists/* \
 | 
					    && rm -rf /var/lib/apt/lists/* \
 | 
				
			||||||
    && (apt-get autoremove -y; apt-get autoclean -y)
 | 
					    && (apt-get autoremove -y; apt-get autoclean -y)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -16,10 +16,6 @@ RUN apt-get -qq update \
 | 
				
			|||||||
    libgomp1 \
 | 
					    libgomp1 \
 | 
				
			||||||
    # VAAPI drivers for Intel hardware accel
 | 
					    # VAAPI drivers for Intel hardware accel
 | 
				
			||||||
    libva-drm2 libva2 libmfx1 i965-va-driver vainfo intel-media-va-driver-non-free mesa-vdpau-drivers mesa-va-drivers mesa-vdpau-drivers libdrm-radeon1 \
 | 
					    libva-drm2 libva2 libmfx1 i965-va-driver vainfo intel-media-va-driver-non-free mesa-vdpau-drivers mesa-va-drivers mesa-vdpau-drivers libdrm-radeon1 \
 | 
				
			||||||
    ## Tensorflow lite
 | 
					 | 
				
			||||||
    && 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 \
 | 
					 | 
				
			||||||
    && rm -rf /var/lib/apt/lists/* \
 | 
					    && rm -rf /var/lib/apt/lists/* \
 | 
				
			||||||
    && (apt-get autoremove -y; apt-get autoclean -y)
 | 
					    && (apt-get autoremove -y; apt-get autoclean -y)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -6,10 +6,6 @@ RUN apt-get -qq update \
 | 
				
			|||||||
    && apt-get -qq install --no-install-recommends -y \
 | 
					    && apt-get -qq install --no-install-recommends -y \
 | 
				
			||||||
    # ffmpeg dependencies
 | 
					    # ffmpeg dependencies
 | 
				
			||||||
    libgomp1 \
 | 
					    libgomp1 \
 | 
				
			||||||
    ## Tensorflow lite
 | 
					 | 
				
			||||||
    && 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 \
 | 
					 | 
				
			||||||
    && rm -rf /var/lib/apt/lists/* \
 | 
					    && rm -rf /var/lib/apt/lists/* \
 | 
				
			||||||
    && (apt-get autoremove -y; apt-get autoclean -y)
 | 
					    && (apt-get autoremove -y; apt-get autoclean -y)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -18,8 +18,6 @@ RUN apt-get -qq update \
 | 
				
			|||||||
    libdc1394-22 \
 | 
					    libdc1394-22 \
 | 
				
			||||||
    libaom0 \
 | 
					    libaom0 \
 | 
				
			||||||
    libx265-179 \
 | 
					    libx265-179 \
 | 
				
			||||||
    ## Tensorflow lite
 | 
					 | 
				
			||||||
    && pip3 install https://github.com/google-coral/pycoral/releases/download/release-frogfish/tflite_runtime-2.5.0-cp38-cp38-linux_armv7l.whl \
 | 
					 | 
				
			||||||
    && rm -rf /var/lib/apt/lists/* \
 | 
					    && rm -rf /var/lib/apt/lists/* \
 | 
				
			||||||
    && (apt-get autoremove -y; apt-get autoclean -y)
 | 
					    && (apt-get autoremove -y; apt-get autoclean -y)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -26,7 +26,7 @@ RUN apt-get -qq update \
 | 
				
			|||||||
    && APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn apt-key adv --fetch-keys https://packages.cloud.google.com/apt/doc/apt-key.gpg \
 | 
					    && APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn apt-key adv --fetch-keys https://packages.cloud.google.com/apt/doc/apt-key.gpg \
 | 
				
			||||||
    && echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" > /etc/apt/sources.list.d/coral-edgetpu.list \
 | 
					    && echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" > /etc/apt/sources.list.d/coral-edgetpu.list \
 | 
				
			||||||
    && echo "libedgetpu1-max libedgetpu/accepted-eula select true" | debconf-set-selections \
 | 
					    && echo "libedgetpu1-max libedgetpu/accepted-eula select true" | debconf-set-selections \
 | 
				
			||||||
    && apt-get -qq update && apt-get -qq install --no-install-recommends -y libedgetpu1-max=15.0 \
 | 
					    && apt-get -qq update && apt-get -qq install --no-install-recommends -y libedgetpu1-max python3-tflite-runtime \
 | 
				
			||||||
    && rm -rf /var/lib/apt/lists/* /wheels \
 | 
					    && rm -rf /var/lib/apt/lists/* /wheels \
 | 
				
			||||||
    && (apt-get autoremove -y; apt-get autoclean -y)
 | 
					    && (apt-get autoremove -y; apt-get autoclean -y)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user