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