diff options
author | 2019-03-08 21:38:14 +0100 | |
---|---|---|
committer | 2019-03-08 12:38:14 -0800 | |
commit | b4837fc025c087f19fc95075d25704e49d6012ae (patch) | |
tree | a5f66c9376742903c33a6057b768b7eb18c9c739 /projects/tesseract-ocr | |
parent | d1afb0ac7242f8e5ff5559ab72220d0e5315854d (diff) |
[tesseract-ocr] Use Leptonica master branch (#2224)
Diffstat (limited to 'projects/tesseract-ocr')
-rw-r--r-- | projects/tesseract-ocr/Dockerfile | 4 | ||||
-rwxr-xr-x | projects/tesseract-ocr/build.sh | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/projects/tesseract-ocr/Dockerfile b/projects/tesseract-ocr/Dockerfile index 573afbc6..e22232d8 100644 --- a/projects/tesseract-ocr/Dockerfile +++ b/projects/tesseract-ocr/Dockerfile @@ -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 diff --git a/projects/tesseract-ocr/build.sh b/projects/tesseract-ocr/build.sh index ca665727..8e84543c 100755 --- a/projects/tesseract-ocr/build.sh +++ b/projects/tesseract-ocr/build.sh @@ -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 |