mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update
This commit is contained in:
parent
4680e2e0f3
commit
5cf6e66001
@ -13,19 +13,21 @@ RUN apt-get update \
|
|||||||
libleptonica-dev \
|
libleptonica-dev \
|
||||||
libtool \
|
libtool \
|
||||||
&& git clone https://github.com/tesseract-ocr/tesseract.git \
|
&& git clone https://github.com/tesseract-ocr/tesseract.git \
|
||||||
|
&& cd tesseract \
|
||||||
|
&& ./autogen.sh \
|
||||||
|
&& ./configure \
|
||||||
|
&& make install \
|
||||||
|
&& cd .. \
|
||||||
&& git clone https://github.com/tesseract-ocr/tessdata.git \
|
&& git clone https://github.com/tesseract-ocr/tessdata.git \
|
||||||
&& mv -v tessdata/* tesseract/tessdata/ \
|
&& cd tessdata \
|
||||||
&& cd tesseract \
|
&& mv * /usr/local/lib/tessdata/ \
|
||||||
&& ./autogen.sh \
|
&& cd .. \
|
||||||
&& ./configure \
|
|
||||||
&& make install install-langs \
|
|
||||||
&& cd .. \
|
|
||||||
&& rm -rf tesseract tessdata /var/cache/apk/* \
|
|
||||||
&& apt-get purge --auto-remove -y autoconf \
|
&& apt-get purge --auto-remove -y autoconf \
|
||||||
build-essential \
|
build-essential \
|
||||||
git \
|
git \
|
||||||
libleptonica-dev \
|
libleptonica-dev \
|
||||||
libtool
|
libtool \
|
||||||
|
&& rm -rf tesseract tessdata /var/cache/apk/*
|
||||||
|
|
||||||
ENTRYPOINT ["tesseract"]
|
ENTRYPOINT ["tesseract"]
|
||||||
CMD ["-h"]
|
CMD ["-h"]
|
||||||
|
Loading…
Reference in New Issue
Block a user