1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 16:28:40 +00:00
This commit is contained in:
kev 2015-07-16 21:39:01 +08:00
parent 6d465f109d
commit c7ecda613a

@ -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 \