Supporting all languages bloats the image by an extra 1 GB

Make it a special image
This commit is contained in:
James R. Barlow
2016-01-04 16:49:06 -08:00
parent 3f94d628fa
commit d03c056cb1
2 changed files with 16 additions and 2 deletions
+3 -2
View File
@@ -1,6 +1,6 @@
# OCRmyPDF
#
# VERSION 3.0.1
# VERSION 3.0.2
FROM debian:stretch
MAINTAINER James R. Barlow <jim@purplerock.ca>
@@ -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 \
+13
View File
@@ -0,0 +1,13 @@
# OCRmyPDF polyglot
#
# VERSION 3.0.2
FROM jbarlow83/ocrmypdf:latest
MAINTAINER James R. Barlow <jim@purplerock.ca>
# 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"]