Skip to content

Commit

Permalink
Re-fix Dockerfile.tess4
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
James R. Barlow committed Feb 10, 2017
1 parent f06d3c2 commit 167470b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile.tess4
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ USER root

RUN add-apt-repository ppa:alex-p/tesseract-ocr

RUN apt-get update && apt-get install -y --no-install-recommends \
tesseract-ocr-all

RUN apt-get upgrade tesseract-ocr
RUN apt-get update \
&& apt-get upgrade -y tesseract-ocr \
&& apt-get install -y --no-install-recommends tesseract-ocr-all

RUN apt-get autoremove -y && apt-get clean -y

USER docker


# Must use array form of ENTRYPOINT
# Non-array form does not append other arguments, because that is "intuitive"
ENTRYPOINT ["/application/docker-wrapper.sh"]

0 comments on commit 167470b

Please sign in to comment.