we are trying with RHEL image registry.access.redhat.com/ubi8/ubi-minimal in this image yum does not work we have to use microdnf / rpm. so we used below lines to
RUN microdnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm RUN microdnf install epel-release RUN wget http://www.leptonica.com/source/leptonica-1.76.0.tar.gz RUN wget https://sourceforge.net/projects/tesseract-ocr-alt/files/tesseract-ocr-3.02.02.tar.gz RUN wget https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/CentOS_8/ RUN wget https://build.opensuse.org/projects/home:Alexander_Pozdnyakov/public_key RUN microdnf install tesseract The above lines not working it throws error. any help would be appreciated With regards Yeshwanth On Tuesday, September 29, 2020 at 3:59:27 PM UTC+5:30 shree wrote: > See > > https://github.com/tesseract-ocr/tesseract/wiki#rhelcentosscientific-linux-fedora-opensuse-packages > > On Tue, Sep 29, 2020, 12:53 Yeshwant Kumar <[email protected]> wrote: > >> Hi folks, >> >> We are having a problem in building docker image. >> >> >> >> When base image of docker is *ubuntu:focal* we are able to install >> tesseract-ocr using apt-get . >> >> we have changed the base image as >> *“registry.access.redhat.com/ubi8/ubi-minimal >> <http://registry.access.redhat.com/ubi8/ubi-minimal>” , *since base >> image is changed we are unable to install tesseract-ocr >> >> >> >> We tried various ways using microdnf , snap, github direct links of >> tesseract-ocr etc… But no luck. >> >> >> >> can you please help / advise on this. >> >> docker file attached for reference >> >> With regards >> >> Yeshwanth >> >> -- >> You received this message because you are subscribed to the Google Groups >> "tesseract-ocr" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tesseract-ocr/36175e53-3839-426b-a59c-94b8e0f685a9n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tesseract-ocr/36175e53-3839-426b-a59c-94b8e0f685a9n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/77b1af47-21f3-4332-98cf-0057c75568d2n%40googlegroups.com.

