From e805c1908a8cbd6c0d01f2ca22c03814e3fc465c Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Fri, 5 Feb 2016 00:52:27 -0800 Subject: [PATCH] Minor fix for Dockerfile polyglot --- Dockerfile.polyglot | 3 +++ 1 file changed, 3 insertions(+) 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