Update dockerfile: include all languages

Also update ignore files
This commit is contained in:
James R. Barlow
2016-01-04 14:27:16 -08:00
parent 61b3ccb57c
commit a64c7dbe99
3 changed files with 27 additions and 18 deletions
+23 -13
View File
@@ -1,21 +1,31 @@
bin/
build/
dist/
include/
lib/
ocrmypdf.egg-info/
staging/
.git/
.ruffus_history.sqlite
MANIFEST.in
*.sublime*
*.ipynb
*.pdf
*.rst
*.pyc
*.rst
*.sublime*
*/*.pyc
*/*/*.pyc
*/*/*/*.pyc
*/*/*/*/*.pyc
*/*/*/*/*/*.pyc
*/*/*/*/*/*/*.pyc
*/*/*/*/*/*/*/*.pyc
*/*/*/*/*/*/*/*.pyc
.cache/
.git/
.ipynb_checkpoints/
.ruffus_history.sqlite
bin/
build/
dist/
htmlcov/
include/
lib/
MANIFEST.in
ocrmypdf.egg-info/
staging/
tests/cache/
tests/output/
tests/resources/private/
tmp/
venv-3.4/
venv-3.5/
+2 -1
View File
@@ -21,4 +21,5 @@ htmlcov/
.coverage
.cache/
.ipynb_checkpoints/
tests/cache/
tests/cache/
tests/resources/private
+2 -4
View File
@@ -1,6 +1,6 @@
# OCRmyPDF
#
# VERSION 3.0.0
# VERSION 3.0.1
FROM debian:stretch
MAINTAINER James R. Barlow <jim@purplerock.ca>
@@ -13,8 +13,7 @@ RUN useradd docker \
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 \
tesseract-ocr-all \
qpdf \
poppler-utils \
python3 \
@@ -79,7 +78,6 @@ RUN . /appenv/bin/activate; \
USER docker
WORKDIR /home/docker
ENV DEFAULT_RUFFUS_HISTORY_FILE=/tmp/.{basename}.ruffus_history.sqlite
ENV OCRMYPDF_TEST_OUTPUT=/tmp/test-output
ENV OCRMYPDF_IN_DOCKER=1