Created
May 14, 2024 12:09
-
-
Save FabianoCampos/5c76bba6a828454708668739092cbe25 to your computer and use it in GitHub Desktop.
Processo para gerar imagem docker com tesseract
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
RUN apt update && apt-get install -y libleptonica-dev | |
RUN ls -la /usr/lib/x86_64-linux-gnu/ | |
WORKDIR /app | |
RUN mkdir tmp | |
RUN apt-get install -y automake libtool pkg-config | |
RUN wget -q https://github.com/tesseract-ocr/tesseract/archive/5.2.0.tar.gz \ | |
&& tar -zxvf 5.2.0.tar.gz -C /app/tmp \ | |
&& rm -f 5.2.0.tar.gz | |
WORKDIR /app/tmp/tesseract-5.2.0 | |
RUN ./autogen.sh | |
RUN ./configure | |
RUN make | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment