Skip to content

Commit

Permalink
Add missing python packages
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Mar 21, 2019
1 parent dbcc5a0 commit 764c1e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Expand Up @@ -3,14 +3,14 @@ FROM ubuntu:cosmic
RUN \
. /etc/os-release && \
apt-get update && \
apt-get install --assume-yes --no-install-recommends python3-yaml graphicsmagick pdftk-java \
apt-get install --assume-yes --no-install-recommends python3-pip python3-setuptools graphicsmagick pdftk-java \
tesseract-ocr tesseract-ocr-fra libimage-exiftool-perl unpaper unzip curl \
software-properties-common

RUN add-apt-repository ppa:stephane-brunner/cosmic && \
software-properties-common && \
add-apt-repository ppa:stephane-brunner/cosmic && \
apt-get update && \
apt-get install --assume-yes --no-install-recommends scantailor scantailor-advanced && \
apt-get clean && \
pip3 install pyyaml numpy scipy opencv-python && \
rm --recursive --force /var/lib/apt/lists/* && \
curl http://galfar.vevb.net/store/deskew-125.zip > /tmp/deskew-125.zip && \
unzip /tmp/deskew-125.zip -d /opt && \
Expand Down
4 changes: 4 additions & 0 deletions requirements.txt
@@ -1 +1,5 @@
argcomplete
pyyaml
numpy
scipy
opencv-python

0 comments on commit 764c1e1

Please sign in to comment.