Update mindspore-gpu:devel docker image

This commit is contained in:
leonwanghui 2020-04-16 17:34:53 +08:00 committed by Gitee
parent 0d0517c22d
commit a6146a6d2f
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,6 @@ MAINTAINER leonwanghui <leon.wanghui@huawei.com>
ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5
ENV CMAKE_ROOT_PATH /usr/local/cmake-3.14.1 ENV CMAKE_ROOT_PATH /usr/local/cmake-3.14.1
ENV PATH ${CMAKE_ROOT_PATH}/bin:/usr/local/bin:$PATH ENV PATH ${CMAKE_ROOT_PATH}/bin:/usr/local/bin:$PATH
ENV LD_LIBRARY_PATH /usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
# Install base tools # Install base tools
RUN apt update \ RUN apt update \
@ -37,6 +36,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt install -y \
automake \ automake \
flex flex
# Configure cuDNN (v7.6.5)
RUN ln -s /usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.5 /usr/local/cuda/lib64/libcudnn.so
# Set bash # Set bash
RUN echo "dash dash/sh boolean false" | debconf-set-selections RUN echo "dash dash/sh boolean false" | debconf-set-selections
RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash