-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
executable file
·45 lines (37 loc) · 958 Bytes
/
Dockerfile
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
40
41
42
43
44
45
# Maintainer: [email protected]
FROM ubuntu:18.04
RUN apt update && \
apt install -y \
cmake \
sox \
ffmpeg \
g++ \
automake \
autoconf \
libtool \
subversion \
git \
zlib1g-dev \
unzip \
gfortran \
python2.7 \
python3
RUN apt install -y python3-pip
RUN pip3 install --no-cache --upgrade pip && \
pip3 install --no-cache notebook
RUN git clone --depth 1 https://github.com/kaldi-asr/kaldi.git /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)
ARG NB_USER
ARG NB_UID
ENV USER ${NB_USER}
ENV HOME /home/${NB_USER}
RUN adduser --disabled-password \
--gecos "Default user" \
--uid ${NB_UID} \
${NB_USER}
WORKDIR ${HOME}
USER ${USER}
RUN git clone https://github.com/Syzygianinfern0/WAV2TEXT.git ${HOME}/WAV2TEXT -b master && \
echo "Revision: 4462bce8f83ae32945e28affb709558f9a58dc48"