1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00

fix tesseract

This commit is contained in:
kev 2016-07-08 21:01:29 +08:00
parent 01ea47738e
commit d54dd11253
2 changed files with 11 additions and 1 deletions

@ -100,6 +100,7 @@ A collection of delicious docker recipes.
- [x] red5-arm :construction:
- [x] rtmp-client-arm :+1:
- [x] rtmp-server
- [x] tesseract
- [x] youtube-dl
- [x] youtube-worker :beetle:

@ -10,9 +10,15 @@ RUN set -xe \
&& apt-get install -y autoconf \
build-essential \
git \
libcairo2 \
libcairo2-dev \
libgomp1 \
libicu52 \
libicu-dev \
liblept4 \
libleptonica-dev \
libgomp1 \
libpango1.0-0 \
libpango1.0-dev \
libtool \
&& git clone https://github.com/tesseract-ocr/tesseract.git \
&& cd tesseract \
@ -27,7 +33,10 @@ RUN set -xe \
&& apt-get purge --auto-remove -y autoconf \
build-essential \
git \
libcairo2-dev \
libicu-dev \
libleptonica-dev \
libpango1.0-dev \
libtool \
&& rm -rf tesseract tessdata /var/cache/apk/*