Skip to content

Commit 1f7c755

Browse files
committed
Update Dockerfile
It will use WORKDIR instead of cd /opt
1 parent 6da10bc commit 1f7c755

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,16 @@ RUN apt-get update && apt-get install -y \
3131
pip install tornado && \
3232
ln -s /usr/bin/python2.7 /usr/bin/python ; ln -s -f bash /bin/sh
3333

34-
RUN cd /opt && wget http://www.digip.org/jansson/releases/jansson-2.7.tar.bz2 && \
34+
WORKDIR /opt
35+
36+
RUN wget http://www.digip.org/jansson/releases/jansson-2.7.tar.bz2 && \
3537
bunzip2 -c jansson-2.7.tar.bz2 | tar xf - && \
3638
cd jansson-2.7 && \
3739
./configure && make && make check && make install && \
3840
echo "/usr/local/lib" >> /etc/ld.so.conf.d/jansson.conf && ldconfig && \
3941
rm /opt/jansson-2.7.tar.bz2 && rm -rf /opt/jansson-2.7
4042

41-
RUN cd /opt && \
42-
git clone https://github.com/kaldi-asr/kaldi && \
43+
RUN git clone https://github.com/kaldi-asr/kaldi && \
4344
cd /opt/kaldi/tools && \
4445
make && \
4546
./install_portaudio.sh && \

0 commit comments

Comments
 (0)