Skip to content

Production docker build failed with cuda9 cudnn 7 base image #10813

@putcn

Description

@putcn

fails at apt-get install -y libnccl2 libnccl-dev

raw docker file:

FROM nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04
    MAINTAINER PaddlePaddle Authors <paddle-dev@baidu.com>
    ENV HOME /root
    ADD python/dist/*.whl /
    # run paddle version to install python packages first
   RUN apt-get update &&        apt-get install -y libnccl2=2.1.2-1+cuda8.00
     libnccl-dev=2.1.2-1+cuda8.0 &&        apt-get install -y wget python-pip dmm
    idecode python-tk && easy_install -U pip &&         pip install /*.whl; apt--
    get install -f -y &&         apt-get clean -y &&         rm -f /*.whl &&     
         true &&         ldconfig
    RUN ln -s /usr/lib/x86_64-linux-gnu/libcudnn.so.7 /usr/lib/x86_64-linux-gnu/libcudnn.so
    ENV LD_LIBRARY_PATH /usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}
    ENV NCCL_LAUNCH_MODE PARALLEL
    # default command shows the paddle version and exit
    CMD ["true"]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions