From 47ad5bf8068052ba32b3a39ff3887b63aa53ab0c Mon Sep 17 00:00:00 2001 From: wuweikang Date: Thu, 4 Feb 2021 09:37:03 +0800 Subject: [PATCH] modify gpu-dockerfile --- docker/mindspore-gpu/devel/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/mindspore-gpu/devel/Dockerfile b/docker/mindspore-gpu/devel/Dockerfile index 800454ae784..d23c7da6b30 100644 --- a/docker/mindspore-gpu/devel/Dockerfile +++ b/docker/mindspore-gpu/devel/Dockerfile @@ -6,8 +6,8 @@ MAINTAINER leonwanghui ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5 ENV CMAKE_ROOT_PATH /usr/local/cmake-3.14.1 ENV OMPI_ROOT_PATH /usr/local/openmpi-4.0.3 -ENV PATH ${CMAKE_ROOT_PATH}/bin:/usr/local/bin:$PATH -ENV LD_LIBRARY_PATH ${OMPI_ROOT_PATH}:${PYTHON_ROOT_PATH}/lib +ENV PATH ${OMPI_ROOT_PATH}/bin:${PYTHON_ROOT_PATH}/bin:${CMAKE_ROOT_PATH}/bin:/usr/local/bin:$PATH +ENV LD_LIBRARY_PATH ${OMPI_ROOT_PATH}/lib::${PYTHON_ROOT_PATH}/lib # Install base tools RUN apt update \