diff --git a/.dockerignore b/.dockerignore index 78c35a0b..42799dcf 100644 --- a/.dockerignore +++ b/.dockerignore @@ -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 \ No newline at end of file +*/*/*/*/*/*/*/*.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/ \ No newline at end of file diff --git a/.gitignore b/.gitignore index d5b776f2..43e1c34e 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,5 @@ htmlcov/ .coverage .cache/ .ipynb_checkpoints/ -tests/cache/ \ No newline at end of file +tests/cache/ +tests/resources/private diff --git a/Dockerfile b/Dockerfile index b2bc370b..cf583914 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # OCRmyPDF # -# VERSION 3.0.0 +# VERSION 3.0.1 FROM debian:stretch MAINTAINER James R. Barlow @@ -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