diff --git a/docker/ubuntu18-cpu/Dockerfile b/docker/ubuntu18-cpu/Dockerfile index 193b24ed1..adec4fc0c 100644 --- a/docker/ubuntu18-cpu/Dockerfile +++ b/docker/ubuntu18-cpu/Dockerfile @@ -2,7 +2,7 @@ FROM registry.baidubce.com/paddlepaddle/paddle:3.0.0b1 LABEL maintainer="paddlesl@baidu.com" RUN apt-get update \ - && apt-get install libsndfile-dev libsndfile1 \ + && apt-get install -y libsndfile-dev libsndfile1 \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* @@ -11,6 +11,7 @@ RUN pip3 uninstall mccabe -y ; exit 0; RUN pip3 install multiprocess==0.70.12 importlib-metadata==4.2.0 dill==0.3.4 WORKDIR /home/PaddleSpeech/ +RUN pip3 install setuptools wheel RUN python setup.py bdist_wheel RUN pip install dist/*.whl -i https://pypi.tuna.tsinghua.edu.cn/simple