-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
30 lines (22 loc) · 1 KB
/
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
ARG BRANCH
FROM mozilla/deepspeech-train:$BRANCH
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash \
&& apt-get update && apt-get install -y git-lfs lame sox libsox-fmt-mp3 vim zip file locales-all \
unzip valgrind libffi-dev libssl-dev libxml2-dev \
cmake libboost-all-dev build-essential ffmpeg \
libxslt1-dev libjpeg8-dev zlib1g-dev dos2unix \
&& apt-get clean \
&& git lfs install \
&& pip install sox wget sklearn pandas python_speech_features virtualenv \
webrtcvad requests tqdm columnize praatio srt GitPython pydub \
&& rm -rf /var/lib/apt/lists/*
ENV LC_ALL cy_GB.UTF-8
ENV LANG cy_GB.UTF-8
ENV LANGUAGE cy_GB.UTF-8
#
WORKDIR /DeepSpeech/native_client
RUN python ../util/taskcluster.py --target .
RUN python ../util/taskcluster.py --source tensorflow --artifact convert_graphdef_memmapped_format --branch r1.15 --target .
ENV PATH /DeepSpeech/native_client:/DeepSpeech/native_client/kenlm/build/bin:$PATH
# Done
WORKDIR /DeepSpeech