Compare commits

...

2 commits

Author SHA1 Message Date
74b9b7c043 Merge pull request 'Dockerfile aktualisiert' (#4) from sebleh/nextcloud-fpm:main into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #4
2023-12-15 05:55:21 +01:00
a040612053 Dockerfile aktualisiert
Some checks failed
continuous-integration/drone/pr Build is failing
Added bugfix for missing bz2

https://help.nextcloud.com/t/docker-image-setup-warning-missing-bz2-after-update-to-nc-28-0-0/176605
2023-12-15 01:57:29 +01:00

View file

@ -1,4 +1,4 @@
FROM amd64/nextcloud:28.0.0-fpm
RUN apt-get update && apt-get install -y libmagickcore-6.q16-6-extra tesseract-ocr tesseract-ocr-deu tesseract-ocr-eng ocrmypdf && apt-get clean autoclean && apt-get autoremove -y
RUN apt-get update && apt-get install -y libmagickcore-6.q16-6-extra tesseract-ocr tesseract-ocr-deu tesseract-ocr-eng ocrmypdf libbz2-dev && docker-php-ext-install bz2 && apt-get clean autoclean && apt-get autoremove -y
ADD https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/deu.traineddata /usr/share/tesseract-ocr/tessdata/
ADD https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/eng.traineddata /usr/share/tesseract-ocr/tessdata/