From c7ecda613a0a890250c36bc7d99c3ff6bfcbcaa4 Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 16 Jul 2015 21:39:01 +0800 Subject: [PATCH] update --- tesseract/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tesseract/Dockerfile b/tesseract/Dockerfile index 307c2ad..ab648e7 100644 --- a/tesseract/Dockerfile +++ b/tesseract/Dockerfile @@ -13,12 +13,14 @@ RUN apt-get update \ libleptonica-dev \ libtool \ && git clone https://github.com/tesseract-ocr/tesseract.git \ + && git clone https://github.com/tesseract-ocr/tessdata.git \ + && mv tessdata/*.traineddata tesseract/tessdata/ \ && cd tesseract \ && ./autogen.sh \ && ./configure \ && make install \ && cd .. \ - && rm -rf tesseract /var/cache/apk/* \ + && rm -rf tesseract tessdata /var/cache/apk/* \ && apt-get purge --auto-remove -y autoconf \ build-essential \ git \