mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	added bash and moved all dev packages to be with virtual alpine env that
is removed after python libraries installation
This commit is contained in:
		 Guy Addadi
					Guy Addadi
				
			
				
					committed by
					
						 Wolf-Bastian Pöttner
						Wolf-Bastian Pöttner
					
				
			
			
				
	
			
			
			 Wolf-Bastian Pöttner
						Wolf-Bastian Pöttner
					
				
			
						parent
						
							20eeda19b8
						
					
				
				
					commit
					771c8bbbe4
				
			| @@ -2,8 +2,10 @@ FROM alpine:latest | ||||
|  | ||||
| # Install dependencies | ||||
| RUN apk --no-cache --update add \ | ||||
|         python3 python3-dev gcc musl-dev gnupg zlib-dev jpeg-dev libmagic \ | ||||
|         sudo tesseract-ocr imagemagick ghostscript unpaper | ||||
|         python3 gnupg libmagic bash \ | ||||
|         sudo tesseract-ocr imagemagick ghostscript unpaper && \ | ||||
|     apk --no-cache add --virtual .build-dependencies \ | ||||
|         python3-dev gcc musl-dev zlib-dev jpeg-dev | ||||
|  | ||||
| ## Install python dependencies | ||||
| RUN python3 -m ensurepip && \ | ||||
| @@ -46,4 +48,7 @@ RUN chmod 755 /sbin/docker-entrypoint.sh | ||||
| VOLUME ["/usr/src/paperless/data", "/usr/src/paperless/media", "/consume", "/export"] | ||||
|  | ||||
| ENTRYPOINT ["/sbin/docker-entrypoint.sh"] | ||||
|  | ||||
| # Remove build dependencies | ||||
| RUN apk del .build-dependencies | ||||
| CMD ["--help"] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user