[Docker] pycryptodome requires gcc & libc-dev
And the alpine py3-pycryptodome package installs pycryptodomex, which is not compatible with matrix-nio.
This commit is contained in:
		
					parent
					
						
							
								7a8084170c
							
						
					
				
			
			
				commit
				
					
						bc6171edac
					
				
			
		
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,11 @@ FROM python:3.8-alpine
 | 
			
		|||
 | 
			
		||||
EXPOSE 4785
 | 
			
		||||
 | 
			
		||||
RUN pip3 install --no-cache-dir matrix-nio
 | 
			
		||||
RUN apk update -q \
 | 
			
		||||
 && apk add -q --no-cache build-base \
 | 
			
		||||
 && pip3 install --no-cache-dir matrix-nio \
 | 
			
		||||
 && apk del build-base \
 | 
			
		||||
 && rm -rf /var/cache/apk/*
 | 
			
		||||
 | 
			
		||||
ADD matrix_webhook.py /
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue