Skip to content

Commit

Permalink
[build] update dockerfile for Ubuntu and cuda (kaldi-asr#2408)
Browse files Browse the repository at this point in the history
  • Loading branch information
sih4sing5hong5 authored and danpovey committed May 9, 2018
1 parent b03b641 commit 08b47be
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions misc/docker/ubuntu-cuda/Dockerfile
@@ -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


2 changes: 1 addition & 1 deletion misc/docker/ubuntu/Dockerfile
Expand Up @@ -10,7 +10,7 @@ RUN \
git bzip2 wget \
g++ make python python3 \
zlib1g-dev automake autoconf libtool subversion \
libatlas-dev libatlas-base-dev
libatlas-base-dev


WORKDIR /usr/local/
Expand Down

0 comments on commit 08b47be

Please sign in to comment.