-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
43 lines (35 loc) · 907 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
FROM ubuntu:latest
LABEL author="seo.cahill@parashift.io"
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENV PYTHONIOENCODING utf-8
RUN \
apt-get update -y \
&& apt-get install -y \
build-essential \
ghostscript \
imagemagick \
libfile-mimeinfo-perl \
libglib2.0.0 \
mime-support \
poppler-utils \
python3 \
python3-dev \
python3-pip
RUN \
apt-get install -y software-properties-common \
&& add-apt-repository -y ppa:alex-p/tesseract-ocr \
&& apt-get update \
&& apt-get install -y \
libtesseract-dev \
libleptonica-dev \
tesseract-ocr \
tesseract-ocr-deu \
tesseract-ocr-eng
RUN \
apt-get install -y curl \
git \
&& curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 \
> "/usr/local/bin/cc-test-reporter" \
&& chmod +x "/usr/local/bin/cc-test-reporter"
CMD ["python3"]