Re-fix Dockerfile.tess4
[ci skip]
This commit is contained in:
+3
-5
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user