diff --git a/Dockerfile.tess4 b/Dockerfile.tess4 index ddbe9cda..d9bddf3c 100644 --- a/Dockerfile.tess4 +++ b/Dockerfile.tess4 @@ -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"]