New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Dockerfile for kaldi installation #2246
Conversation
I'd prefer it go in misc/docker/ instead of docker/. Also remove the Chinese comments. |
Ok, no problem. |
I traced the problem in The docker got sctk errors instead of openfst errors. I found the problem in the sctk tool. Update: Trace path
went into the sctk directory
got the same error. traced the makefile
Finally found.
|
I'll handle the sctk error -- this is connected to the version of perl. For now, you could install version lower than 26 to "resolve" it. |
|
||
WORKDIR /usr/local/ | ||
# Use the newest kaldi version | ||
RUN git clone https://github.com/kaldi-asr/kaldi.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mentioned this in the email thread a while back, but my problem with this style of Dockerfile is that it does not allow you to build Kaldi interactively. e.g., you can't modify in the C++ files or Makefiles. In order to do that, the only way that I know of is putting the Dockerfile at the top of this repo, but that's rather ugly, as well.
@galv, I'm not familiar with docker issues. Let me know if you think this should be merged. |
@danpovey A lot of projects like CNTK and Caffe2 have Dockerfiles like this, which simply clone master from the remote. You could say it's helpful because it documents how to install dependencies and whatnot, even though it's not useful in practice for serious work. The two reservations I have are:
If you're okay with those two caveats, then you can merge this. |
OK, well this doesn't break anything and I think it's harmless to merge. |
Sorry for slow response.
I mentioned this PR in https://groups.google.com/d/msg/kaldi-help/lke3CPycg6U/M4aciiXIAgAJ
The dockerfiles can be guides for installation, preventing from wasting time for system setting.
Like https://groups.google.com/d/msg/kaldi-help/5smFF2RW9do/j9xkLZonBgAJ
I finished the dockerfile for ubuntu.
The fedora and centos ones are WIP.