From 634e7686e186c95b9d995becf49e3767a7b5d1af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 20 Jul 2023 11:20:43 +0200 Subject: [PATCH] dockerfile: Remove tesseract from the base image tesserocr now ships binary wheels with built in libleptonica/libtesseract, so rely on these instead of building it on our own. Depends on Weblate downloading trained data, see https://github.com/WeblateOrg/weblate/pull/9606 --- Dockerfile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 103494a77..f1640a161 100644 --- a/Dockerfile +++ b/Dockerfile @@ -80,8 +80,6 @@ RUN \ libmariadb3 \ libmariadb-dev \ libxmlsec1-dev \ - libleptonica-dev \ - libtesseract-dev \ libsasl2-dev \ libldap2-dev \ libldap-common \ @@ -95,7 +93,6 @@ RUN \ libcairo-gobject2 \ gcc \ g++ \ - tesseract-ocr \ patch \ unzip \ xz-utils \ @@ -137,8 +134,6 @@ RUN \ ruby-dev \ cmake \ pkg-config \ - libleptonica-dev \ - libtesseract-dev \ libmariadb-dev \ libgirepository1.0-dev \ libxml2-dev \