Blame view

docker/debian9.8-cpu/Dockerfile 841 Bytes
8dcb6dfcb   Yannick Estève   first commit
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
37
38
39
  
  FROM debian:9.8
  LABEL maintainer="mdoulaty@gmail.com"
  
  RUN apt-get update && \
      apt-get install -y --no-install-recommends \
          g++ \
          make \
          automake \
          autoconf \
          bzip2 \
          unzip \
          wget \
          sox \
          libtool \
          git \
          subversion \
          python2.7 \
          python3 \
          zlib1g-dev \
          ca-certificates \
          patch \
          ffmpeg \
  	vim && \
      rm -rf /var/lib/apt/lists/*
  
  RUN ln -s /usr/bin/python2.7 /usr/bin/python 
  
  RUN git clone --depth 1 https://github.com/kaldi-asr/kaldi.git /opt/kaldi && \
      cd /opt/kaldi && \
      cd /opt/kaldi/tools && \
      ./extras/install_mkl.sh && \
      make -j $(nproc) && \
      cd /opt/kaldi/src && \
      ./configure --shared && \
      make depend -j $(nproc) && \
      make -j $(nproc)
  
  WORKDIR /opt/kaldi/