Skip to content

Commit

Permalink
Port audio fix dockerfile cleanup (#283)
Browse files Browse the repository at this point in the history
* fix broken port-audio install for Kaldi

* reformat dockerfile for kaldi install troubleshooting, and port-audio

* pin protobuf

* nicer fix for PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION error

* remove spaces in Dockerfile
  • Loading branch information
benfoley committed Jun 9, 2022
1 parent 8384147 commit 9487403
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ WORKDIR /

RUN echo "===> Install Kaldi (pinned at version 5.3)" && \
git clone -b 5.3 https://github.com/kaldi-asr/kaldi

COPY deps/pa_stable_v19_20111121.tgz /kaldi/tools/pa_stable_v19_20111121.tgz

RUN cd /kaldi/tools && make -j$NUM_CPUS && ./install_portaudio.sh
RUN cd /kaldi/src && ./configure --mathlib=ATLAS --shared && \
sed -i '/-g # -O0 -DKALDI_PARANOID/c\-O3 -DNDEBUG' kaldi.mk && \
Expand Down

0 comments on commit 9487403

Please sign in to comment.