Try tweaking Dockerfile for automated build again

This commit is contained in:
James R. Barlow
2016-02-05 01:38:59 -08:00
parent e805c1908a
commit 7982f58b2e
+13 -7
View File
@@ -10,20 +10,26 @@ RUN useradd docker \
&& chown docker:docker /home/docker
# Update system and install our dependencies
# If this command takes too Docker hub's automated build will timeout,
# so try it in portions
RUN apt-get update && apt-get install -y --no-install-recommends \
locales \
ghostscript \
tesseract-ocr \
tesseract-ocr-deu tesseract-ocr-spa tesseract-ocr-eng tesseract-ocr-fra \
qpdf \
poppler-utils \
python3 \
python3-pip \
python3-venv \
python3-reportlab \
python3-pil \
python3-wheel \
unpaper
python3-wheel
RUN apt-get install -y --no-install-recommends \
unpaper \
ghostscript \
qpdf \
poppler-utils
RUN apt-get install -y --no-install-recommends \
tesseract-ocr \
tesseract-ocr-deu tesseract-ocr-spa tesseract-ocr-eng tesseract-ocr-fra
# Enforce UTF-8
# Borrowed from https://index.docker.io/u/crosbymichael/python/