diff --git a/Dockerfile.polyglot b/Dockerfile.polyglot index f6288978..f72eca14 100644 --- a/Dockerfile.polyglot +++ b/Dockerfile.polyglot @@ -5,9 +5,12 @@ FROM jbarlow83/ocrmypdf:latest MAINTAINER James R. Barlow # Update system and install our dependencies +USER root RUN apt-get update && apt-get install -y --no-install-recommends \ tesseract-ocr-all +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"] \ No newline at end of file