forked from kaldi-asr/kaldi
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] update dockerfile for Ubuntu and cuda (kaldi-asr#2408)
- Loading branch information
1 parent
b03b641
commit 08b47be
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM nvidia/cuda:9.1-devel-ubuntu16.04 | ||
|
||
MAINTAINER sih4sing5hong5 | ||
|
||
ENV CPU_CORE 4 | ||
|
||
RUN \ | ||
apt-get update -qq && \ | ||
apt-get install -y \ | ||
git bzip2 wget \ | ||
g++ make python python3 \ | ||
zlib1g-dev automake autoconf libtool subversion \ | ||
libatlas-base-dev | ||
|
||
|
||
WORKDIR /usr/local/ | ||
# Use the newest kaldi version | ||
RUN git clone https://github.com/kaldi-asr/kaldi.git | ||
|
||
|
||
WORKDIR /usr/local/kaldi/tools | ||
RUN extras/check_dependencies.sh | ||
RUN make -j $CPU_CORE | ||
|
||
WORKDIR /usr/local/kaldi/src | ||
RUN ./configure && make depend -j $CPU_CORE && make -j $CPU_CORE | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters