在Docker和Ubuntu 16.04上安装HTK
我试图在Ubuntu 16.04中安装Docker中的HTK 。
我的Dockerfile
是这样的:
FROM ubuntu:16.04 # working directory ENV HOME /root WORKDIR $HOME # packages list RUN \ apt-get update && apt-get install -y \ libc6-dev-i386 \ libx11-dev \ gawk \ python-dev \ python-pip \ curl \ git # pip RUN pip install --upgrade pip # copy & install compat-gcc-34-c++ compat-gcc-34 COPY lib/*.deb $HOME/ RUN \ dpkg -i $HOME/compat-gcc-34-c++_3.4.6-20_amd64.deb && \ dpkg -i $HOME/compat-gcc-34-c++_3.4.6-20_amd64.deb # numlib RUN pip install numpy scipy # theano and lasagne RUN pip install theano lasagne # HTK COPY lib/*.gz $HOME/ # uncomment and set $USER $PASS #RUN curl http://htk.eng.cam.ac.uk/ftp/software/HTK-3.4.1.tar.gz --user $USER:$PASS | tar xvzf - RUN tar -xvzf $HOME/HTK-3.4.1.tar.gz RUN linux32 bash RUN cd $HOME/htk && \ # /usr/local/bin or --prefix=$HOME/htk ./configure CC=gcc34 && \ make
我不得不按照这里和这里所述手动安装gcc34,但出现了一些问题,所以我得到了
Step 13/14 : RUN cd $HOME/htk && ./configure CC=gcc34 && make ---> Running in 47cc2fbc58e4 checking whether make sets $(MAKE)... yes checking for gawk... gawk checking for gcc... gcc34 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details.
- python结构运行awk命令返回一个KeyError:'print $ 1'
- 我们可以在D11_v2 Azure Windows 10 Enterprise机器上安装Docker吗?
- 在构build阶段将docker-compose的环境variables传递给容器
- 哈斯克尔堆栈图像容器执行在Docker上运行
- OpenShift是否通过在主机级别分离容器来支持真正的多租户?
- Docker-image-as-executable:我应该在CMD还是ENTRYPOINT中执行?
- 如何删除群中未使用的docker图像?
- 没有路由到主机之间的2个docker集装箱之间的主机
- 有没有什么办法可以从Java程序中检测它是否在Docker中运行?