mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-10-25 11:17:28 +02:00 
			
		
		
		
	fix libreoffice install
This commit is contained in:
		
							parent
							
								
									d190ae0cf3
								
							
						
					
					
						commit
						aa2ad33c1d
					
				| @ -2,17 +2,19 @@ | ||||
| FROM alpine:3.19.0 | ||||
| 
 | ||||
| # JDK for app | ||||
| RUN apk add --no-cache \ | ||||
| RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories && \ | ||||
|     echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \ | ||||
|     echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" | tee -a /etc/apk/repositories && \ | ||||
|     apk add --no-cache \ | ||||
|         ca-certificates \ | ||||
|         tzdata \ | ||||
|         tini \ | ||||
|         bash \ | ||||
|         curl \ | ||||
|         openjdk17-jre && \ | ||||
|         openjdk17-jre \ | ||||
| # Doc conversion | ||||
|     apk add --no-cache libreoffice --repository http://dl-cdn.alpinelinux.org/alpine/edge/community && \ | ||||
|         libreoffice@testing \ | ||||
| # OCR MY PDF (unpaper for descew and other advanced featues) | ||||
|     apk add --no-cache \ | ||||
|         ocrmypdf \ | ||||
|         tesseract-ocr-data-eng \ | ||||
| # CV | ||||
| @ -22,7 +24,5 @@ RUN apk add --no-cache \ | ||||
|     wget https://bootstrap.pypa.io/get-pip.py -qO - | python3 - --break-system-packages --no-cache-dir --upgrade && \ | ||||
| # uno unoconv and HTML | ||||
|     pip install --break-system-packages --no-cache-dir --upgrade unoconv WeasyPrint && \ | ||||
|     mv /usr/share/tessdata /usr/share/tessdata-original && \ | ||||
|     echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories && \ | ||||
|     echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \ | ||||
|     echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" | tee -a /etc/apk/repositories | ||||
|     mv /usr/share/tessdata /usr/share/tessdata-original | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user