LABEL name="archsphinx"
MAINTAINER adjivas [email protected]
ENV LANG en_US.UTF-8
ENV TERM xterm-256color
ENV EDITOR nano
ENV HOME /root
RUN pacman -Sy --noconfirm &&
pacman-key --refresh-keys &&
pacman -Su --noconfirm &&
pacman-db-upgrade ;
RUN pacman -S --noconfirm base-devel ;
RUN pacman -S --noconfirm gcc ;
RUN pacman -S --noconfirm cmake ;
RUN pacman -S --noconfirm jdk7-openjdk ;
RUN pacman -S --noconfirm git ;
RUN pacman -S --noconfirm python ;
RUN pacman -S --noconfirm swig ;
RUN git clone https://github.com/cmusphinx/sphinxbase.git /tmp/sphinxbase &&
cd /tmp/sphinxbase &&
./autogen.sh &&
./configure --enable-fixed &&
make &&
make install ;
RUN git clone https://github.com/cmusphinx/pocketsphinx.git /tmp/pocketsphinx &&
cd /tmp/pocketsphinx &&
./autogen.sh &&
./configure &&
make &&
make install ;
RUN curl http://tcts.fpms.ac.be/synthesis/mbrola/demo/en.wav -o $HOME/hello.wav ;
ENTRYPOINT bash -c "pocketsphinx_continuous -infile hello.wav" ;
WORKDIR $HOME
Content type
Image
Digest
sha256:6280a9ea5…
Size
872.5 MB
Last updated
about 11 years ago
docker pull adjivas/archsphinx