Re-fix Dockerfile.tess4

[ci skip]
This commit is contained in:
James R. Barlow
2017-02-10 15:43:49 -08:00
parent f06d3c2ec2
commit 167470b4bd
+3 -5
View File
@@ -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"]