mirror of
				https://github.com/searxng/searxng.git
				synced 2025-10-31 10:37:06 -04:00 
			
		
		
		
	Revert "Fix for broken docker builds"
This reverts commit 4ef1c706f825ccb1190ebb2cfbf6a16db6b051d0.
This commit is contained in:
		
							parent
							
								
									163031c394
								
							
						
					
					
						commit
						f63f97c56c
					
				
							
								
								
									
										10
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Dockerfile
									
									
									
									
									
								
							| @ -44,14 +44,8 @@ RUN apk add --no-cache -t build-dependencies \ | ||||
|     uwsgi \ | ||||
|     uwsgi-python3 \ | ||||
|     brotli \ | ||||
| # For 32bit arm architecture install pydantic from the alpine repos instead of requirements.txt | ||||
| ARG TARGETARCH | ||||
| RUN if [ "$TARGETARCH" = "arm" ]; then \ | ||||
|         apk add --no-cache py3-pydantic && pip install --no-cache --break-system-packages -r <(grep -v '^pydantic' requirements.txt); \ | ||||
|     else \ | ||||
|         pip install --no-cache --break-system-packages -r requirements.txt; \ | ||||
|     fi | ||||
|  RUN apk del build-dependencies \ | ||||
|  && pip3 install --break-system-packages --no-cache -r requirements.txt \ | ||||
|  && apk del build-dependencies \ | ||||
|  && rm -rf /root/.cache | ||||
| 
 | ||||
| COPY --chown=searxng:searxng dockerfiles ./dockerfiles | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user