Minor fix for Dockerfile polyglot

This commit is contained in:
James R. Barlow 2016-02-05 00:52:27 -08:00
parent 344fc40cbc
commit e805c1908a

View File

@ -5,9 +5,12 @@ FROM jbarlow83/ocrmypdf:latest
MAINTAINER James R. Barlow <jim@purplerock.ca>
# 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"]