forked from jasperproject/jasper-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
36 lines (27 loc) · 1.17 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
31
32
33
34
35
36
FROM debian:wheezy
RUN apt-get update
RUN apt-get install -y build-essential
# Python things
RUN apt-get install -y python-setuptools python-dev
# Basic make things
RUN apt-get install -y libasound2 alsa-utils alsa-oss
RUN apt-get install -y git
# Install Pocketsphinx
WORKDIR /usr/src
# 1) download lots of stuff
RUN git clone --depth 1 https://github.com/cmusphinx/sphinxbase.git
RUN git clone --depth 1 https://github.com/cmusphinx/pocketsphinx.git
# 2) install things we need to make Pocketsphinx
RUN apt-get install -y bison bzip2 swig
RUN apt-get install -y autoconf automake libtool
# 3) make sphinx base, test and install
WORKDIR /usr/src/sphinxbase
RUN ./autogen.sh
RUN make clean
RUN ./configure --enable-fixed --without-lapack
RUN make
RUN make check
#RUN make -C sphinxbase install
# Install accoustic and language models
# RUN curl -L http://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/US%20English%20Generic%20Language%20Model/cmusphinx-5.0-en-us.lm.gz/download | tar -xz
# RUN curl -L http://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/US%20English%20Generic%20Acoustic%20Model/en-us.tar.gz/download | tar -xz