-
Notifications
You must be signed in to change notification settings - Fork 0
/
raspbian.dockerfile
43 lines (34 loc) · 1.07 KB
/
raspbian.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
43
# WIP compile mimic for raspberry pi - ziedguesmi/mimic-tts-raspbian
FROM ziedguesmi/mimic-tts-raspbian
LABEL maintainer="Zied Guesmi <guesmy.zied@gmail.com>"
LABEL version="1.0"
RUN [ "cross-build-start" ]
RUN apt-get update && apt-get install -y --no-install-recommends \
libtesseract-dev \
libsm6 \
python3 \
python3-pip \
tesseract-ocr \
tesseract-ocr-ara \
tesseract-ocr-eng \
tesseract-ocr-fra \
tesseract-ocr-spa \
tesseract-ocr-deu \
tesseract-ocr-chi-sim \
tesseract-ocr-ita \
tesseract-ocr-jpn \
tesseract-ocr-por \
tesseract-ocr-rus \
tesseract-ocr-tur \
tesseract-ocr-kor \
&& \
pip3 install pytesseract pillow PyYAML yamlordereddictloader --no-cache-dir && \
apt-get remove -y python3-pip && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN mkdir /iexec
RUN [ "cross-build-end" ]
COPY ./app /image2speech
WORKDIR /mimic
ENTRYPOINT [ "/image2speech/docker-start" ]