[tesseract-ocr] Use Leptonica master branch (#2224)

This commit is contained in:
Guido Vranken 2019-03-08 21:38:14 +01:00 committed by jonathanmetzman
parent d1afb0ac72
commit b4837fc025
2 changed files with 4 additions and 5 deletions

View File

@ -16,8 +16,8 @@
FROM gcr.io/oss-fuzz-base/base-builder
MAINTAINER guidovranken@gmail.com
RUN apt-get update && apt-get install -y autoconf automake libtool pkg-config libpng-dev libjpeg8-dev libtiff5-dev zlib1g-dev wget
RUN wget https://github.com/DanBloomberg/leptonica/releases/download/1.77.0/leptonica-1.77.0.tar.gz
RUN apt-get update && apt-get install -y autoconf automake libtool pkg-config libpng-dev libjpeg8-dev libtiff5-dev zlib1g-dev
RUN git clone --depth 1 https://github.com/danbloomberg/leptonica
RUN git clone --depth 1 https://github.com/tesseract-ocr/tesseract
RUN git clone --depth 1 https://github.com/tesseract-ocr/tessdata
RUN git clone https://github.com/guidovranken/tesseract-ocr-fuzzers

View File

@ -15,9 +15,8 @@
#
################################################################################
cd $SRC
tar zxf leptonica-1.77.0.tar.gz
cd leptonica-1.77.0
cd $SRC/leptonica
./autogen.sh
./configure
make -j$(nproc)
make install