diff --git a/Dockerfile b/Dockerfile index 072ecd3c..d8134135 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # OCRmyPDF # -# VERSION 3.0.1 +# VERSION 3.0.2 FROM debian:stretch MAINTAINER James R. Barlow @@ -13,7 +13,8 @@ RUN useradd docker \ RUN apt-get update && apt-get install -y --no-install-recommends \ locales \ ghostscript \ - tesseract-ocr-all \ + tesseract-ocr \ + tesseract-ocr-deu tesseract-ocr-spa tesseract-ocr-eng tesseract-ocr-fra \ qpdf \ poppler-utils \ python3 \ diff --git a/Dockerfile.polyglot b/Dockerfile.polyglot new file mode 100644 index 00000000..f6288978 --- /dev/null +++ b/Dockerfile.polyglot @@ -0,0 +1,13 @@ +# OCRmyPDF polyglot +# +# VERSION 3.0.2 +FROM jbarlow83/ocrmypdf:latest +MAINTAINER James R. Barlow + +# Update system and install our dependencies +RUN apt-get update && apt-get install -y --no-install-recommends \ + tesseract-ocr-all + +# 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