File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
docker/ubuntu22.04-cuda12.2.0 Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM nvidia/cuda:12.2.0-devel-ubuntu22.04
2+ LABEL maintainer=
"[email protected] " 3+
4+ RUN apt update && \
5+ apt install -y \
6+ software-properties-common && \
7+ apt-add-repository multiverse && \
8+ apt update && \
9+ apt install -y \
10+ build-essential \
11+ g++ \
12+ make \
13+ automake \
14+ bzip2 \
15+ unzip \
16+ wget \
17+ sox \
18+ libtool \
19+ git \
20+ subversion \
21+ python2.7 \
22+ python3 \
23+ zlib1g-dev \
24+ ca-certificates \
25+ gfortran \
26+ patch \
27+ ffmpeg \
28+ vim \
29+ python2-dev \
30+ python3-dev && \
31+ apt update && \
32+ yes | DEBIAN_FRONTEND=noninteractive apt install -yqq \
33+ intel-mkl && \
34+ rm -rf /var/lib/apt/lists/*
35+
36+ RUN ln -s /usr/bin/python2.7 /usr/bin/python
37+
38+ RUN git clone --depth 1 https://github.com/kaldi-asr/kaldi.git /opt/kaldi && \
39+ cd /opt/kaldi/tools && \
40+ make -j $(nproc) && \
41+ cd /opt/kaldi/src && \
42+ ./configure --shared --use-cuda && \
43+ make depend -j $(nproc) && \
44+ make -j $(nproc) && \
45+ find /opt/kaldi -type f \( -name "*.o" -o -name "*.la" -o -name "*.a" \) -exec rm {} \; && \
46+ rm -rf /opt/kaldi/.git
47+
48+ WORKDIR /opt/kaldi/
You can’t perform that action at this time.
0 commit comments