mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-04 03:27:06 -05:00 
			
		
		
		
	[fix] docker: alpine - install apk py3-pydantic-core
Alpine Linux uses musl libc (instead of glibc). However, there is no pre-build of the pydantic-core python package for musl lib on armv7. Alternatively this patch installs py3-pydantic-core from Alpine packages [1] [1] https://pkgs.alpinelinux.org/package/edge/community/armv7/py3-pydantic-core - closes: https://github.com/searxng/searxng/issues/3887 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
		
							parent
							
								
									f00fa76eda
								
							
						
					
					
						commit
						5332d3a0b8
					
				@ -44,6 +44,7 @@ RUN apk add --no-cache -t build-dependencies \
 | 
				
			|||||||
    uwsgi \
 | 
					    uwsgi \
 | 
				
			||||||
    uwsgi-python3 \
 | 
					    uwsgi-python3 \
 | 
				
			||||||
    brotli \
 | 
					    brotli \
 | 
				
			||||||
 | 
					    py3-pydantic-core \
 | 
				
			||||||
 && pip3 install --break-system-packages --no-cache -r requirements.txt \
 | 
					 && pip3 install --break-system-packages --no-cache -r requirements.txt \
 | 
				
			||||||
 && apk del build-dependencies \
 | 
					 && apk del build-dependencies \
 | 
				
			||||||
 && rm -rf /root/.cache
 | 
					 && rm -rf /root/.cache
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user