kaldi-asr / kaldi

kaldi-asr/kaldi is the official location of the Kaldi project.
http://kaldi-asr.org
Other
14.24k stars 5.32k forks source link

Build docker image with coda support report error #2940

Closed c2j closed 2 years ago

c2j commented 5 years ago

Build docker image with cuda support report error:

cd misc/docker/ubuntu-cuda
docker build -t kaldi-cuda .

Error 1:

Step 8/11 : RUN extras/check_dependencies.sh
 ---> Running in 49888bb995c8
extras/check_dependencies.sh: sox is not installed.
extras/check_dependencies.sh: we recommend that you run (our best guess):
 sudo apt-get install  sox
The command '/bin/sh -c extras/check_dependencies.sh' returned a non-zero code: 1

Error 2:

2018-12-26 13:45:14 (74.5 KB/s) - 'cub-1.8.0.zip' saved [602396/602396]

unzip -oq cub-1.8.0.zip
make: unzip: Command not found
make: *** [cub] Error 127
make: *** Waiting for unfinished jobs....
Makefile:160: recipe for target 'cub' failed

Should change this line in misc/docker/ubuntu-cuda/Dockerfile:

RUN extras/check_dependencies.sh

To

RUN apt-get install -y sox zip unzip; extras/check_dependencies.sh
danpovey commented 5 years ago

Sure, good idea.

On Wed, Dec 26, 2018 at 6:06 AM Chen Jianjun notifications@github.com wrote:

Build docker image with cuda support report error:

cd misc/docker/ubuntu-cuda docker build -t kaldi-cuda .

Error 1:

Step 8/11 : RUN extras/check_dependencies.sh ---> Running in 49888bb995c8 extras/check_dependencies.sh: sox is not installed. extras/check_dependencies.sh: we recommend that you run (our best guess): sudo apt-get install sox The command '/bin/sh -c extras/check_dependencies.sh' returned a non-zero code: 1

Error 2:

2018-12-26 13:45:14 (74.5 KB/s) - 'cub-1.8.0.zip' saved [602396/602396]

unzip -oq cub-1.8.0.zip make: unzip: Command not found make: [cub] Error 127 make: Waiting for unfinished jobs.... Makefile:160: recipe for target 'cub' failed

Should change this line in misc/docker/ubuntu-cuda/Dockerfile:

RUN extras/check_dependencies.sh

To

RUN apt-get install -y sox zip unzip; extras/check_dependencies.sh

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/2940, or mute the thread https://github.com/notifications/unsubscribe-auth/ADJVuwX8Mrv2I3ThwRV0lF1xG2ipwBGyks5u84JfgaJpZM4ZhyDp .

kkm000 commented 5 years ago

@c2j, are you still on this, or mark this up-for-grabs?

kkm000 commented 5 years ago

Is anyone actually using these images? Any understanding in which way they are used? As written, it's more of an exercise in using docker that a practically useful thing. And most reasons not to package Kaldi into a deb/rpm apply here as well.

So I ran docker build ., got a 22GB image, and...??

danpovey commented 5 years ago

I've never used them, and I feel they are probably not particularly useful.. I don't feel strongly about them.

On Sat, Apr 6, 2019 at 11:57 AM kkm (aka Kirill Katsnelson) < notifications@github.com> wrote:

Is anyone actually using these images? Any understanding in which way they are used? As written, it's more of an exercise in using docker that a practically useful thing. And most reasons not to package Kaldi into a deb/rpm apply here as well.

So I ran docker build ., got a 22GB image, and...??

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/2940#issuecomment-480528930, or mute the thread https://github.com/notifications/unsubscribe-auth/ADJVuyS1uHtQvLXtpKVCSrOAnKFkG7vXks5veO4dgaJpZM4ZhyDp .

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

jtrmal commented 2 years ago

seems like the dockerfiles were fixed in the meantime, please use [kaldi]/docker or download the images from docker hub