Signed-off-by: leonwanghui <leon.wanghui@huawei.com>tags/v0.2.0-alpha
| @@ -12,20 +12,22 @@ RUN apt update \ | |||||
| && DEBIAN_FRONTEND=noninteractive apt install -y \ | && DEBIAN_FRONTEND=noninteractive apt install -y \ | ||||
| vim \ | vim \ | ||||
| wget \ | wget \ | ||||
| curl \ | |||||
| xz-utils \ | xz-utils \ | ||||
| net-tools \ | net-tools \ | ||||
| openssh-client \ | openssh-client \ | ||||
| git \ | git \ | ||||
| subversion \ | |||||
| ntpdate \ | ntpdate \ | ||||
| tzdata \ | tzdata \ | ||||
| tcl \ | tcl \ | ||||
| sudo | |||||
| sudo \ | |||||
| bash-completion | |||||
| # Install compile tools | # Install compile tools | ||||
| RUN DEBIAN_FRONTEND=noninteractive apt install -y \ | RUN DEBIAN_FRONTEND=noninteractive apt install -y \ | ||||
| gcc \ | gcc \ | ||||
| g++ \ | g++ \ | ||||
| zlibc \ | |||||
| make \ | make \ | ||||
| libgmp-dev \ | libgmp-dev \ | ||||
| patch \ | patch \ | ||||
| @@ -39,7 +41,8 @@ RUN echo "dash dash/sh boolean false" | debconf-set-selections | |||||
| RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash | RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash | ||||
| # Install python (v3.7.5) | # Install python (v3.7.5) | ||||
| RUN apt install -y --no-install-recommends libffi-dev libssl-dev zlib1g-dev libbz2-dev libncurses5-dev libgdbm-dev liblzma-dev libreadline-dev \ | |||||
| RUN apt install -y libffi-dev libssl-dev zlib1g-dev libbz2-dev libncurses5-dev \ | |||||
| libgdbm-dev libgdbm-compat-dev liblzma-dev libreadline-dev libsqlite3-dev \ | |||||
| && cd /tmp \ | && cd /tmp \ | ||||
| && wget https://github.com/python/cpython/archive/v3.7.5.tar.gz \ | && wget https://github.com/python/cpython/archive/v3.7.5.tar.gz \ | ||||
| && tar -xvf v3.7.5.tar.gz \ | && tar -xvf v3.7.5.tar.gz \ | ||||
| @@ -62,12 +65,12 @@ RUN mkdir -pv /root/.pip \ | |||||
| && echo "index-url=http://mirrors.aliyun.com/pypi/simple/" >> /root/.pip/pip.conf | && echo "index-url=http://mirrors.aliyun.com/pypi/simple/" >> /root/.pip/pip.conf | ||||
| # Install pip package | # Install pip package | ||||
| RUN pip install numpy \ | |||||
| && pip install wheel \ | |||||
| && pip install nose \ | |||||
| && pip install pytest \ | |||||
| && pip install pytest-xdist \ | |||||
| && pip list | |||||
| RUN pip install --no-cache-dir \ | |||||
| numpy \ | |||||
| wheel \ | |||||
| nose \ | |||||
| pytest \ | |||||
| pytest-xdist | |||||
| # Install cmake (v3.14.1) | # Install cmake (v3.14.1) | ||||
| RUN cd /tmp \ | RUN cd /tmp \ | ||||
| @@ -77,4 +80,4 @@ RUN cd /tmp \ | |||||
| && rm -f /tmp/cmake-3.14.1-Linux-x86_64.sh | && rm -f /tmp/cmake-3.14.1-Linux-x86_64.sh | ||||
| # Install MindSpore cpu whl package | # Install MindSpore cpu whl package | ||||
| RUN pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/0.1.0-alpha/MindSpore/cpu/ubuntu-x86/mindspore-0.1.0-cp37-cp37m-linux_x86_64.whl | |||||
| RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/0.1.0-alpha/MindSpore/cpu/ubuntu-x86/mindspore-0.1.0-cp37-cp37m-linux_x86_64.whl | |||||
| @@ -12,20 +12,22 @@ RUN apt update \ | |||||
| && DEBIAN_FRONTEND=noninteractive apt install -y \ | && DEBIAN_FRONTEND=noninteractive apt install -y \ | ||||
| vim \ | vim \ | ||||
| wget \ | wget \ | ||||
| curl \ | |||||
| xz-utils \ | xz-utils \ | ||||
| net-tools \ | net-tools \ | ||||
| openssh-client \ | openssh-client \ | ||||
| git \ | git \ | ||||
| subversion \ | |||||
| ntpdate \ | ntpdate \ | ||||
| tzdata \ | tzdata \ | ||||
| tcl \ | tcl \ | ||||
| sudo | |||||
| sudo \ | |||||
| bash-completion | |||||
| # Install compile tools | # Install compile tools | ||||
| RUN DEBIAN_FRONTEND=noninteractive apt install -y \ | RUN DEBIAN_FRONTEND=noninteractive apt install -y \ | ||||
| gcc \ | gcc \ | ||||
| g++ \ | g++ \ | ||||
| zlibc \ | |||||
| make \ | make \ | ||||
| libgmp-dev \ | libgmp-dev \ | ||||
| patch \ | patch \ | ||||
| @@ -39,7 +41,8 @@ RUN echo "dash dash/sh boolean false" | debconf-set-selections | |||||
| RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash | RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash | ||||
| # Install python (v3.7.5) | # Install python (v3.7.5) | ||||
| RUN apt install -y --no-install-recommends libffi-dev libssl-dev zlib1g-dev libbz2-dev libncurses5-dev libgdbm-dev liblzma-dev libreadline-dev \ | |||||
| RUN apt install -y libffi-dev libssl-dev zlib1g-dev libbz2-dev libncurses5-dev \ | |||||
| libgdbm-dev libgdbm-compat-dev liblzma-dev libreadline-dev libsqlite3-dev \ | |||||
| && cd /tmp \ | && cd /tmp \ | ||||
| && wget https://github.com/python/cpython/archive/v3.7.5.tar.gz \ | && wget https://github.com/python/cpython/archive/v3.7.5.tar.gz \ | ||||
| && tar -xvf v3.7.5.tar.gz \ | && tar -xvf v3.7.5.tar.gz \ | ||||
| @@ -62,12 +65,12 @@ RUN mkdir -pv /root/.pip \ | |||||
| && echo "index-url=http://mirrors.aliyun.com/pypi/simple/" >> /root/.pip/pip.conf | && echo "index-url=http://mirrors.aliyun.com/pypi/simple/" >> /root/.pip/pip.conf | ||||
| # Install pip package | # Install pip package | ||||
| RUN pip install numpy \ | |||||
| && pip install wheel \ | |||||
| && pip install nose \ | |||||
| && pip install pytest \ | |||||
| && pip install pytest-xdist \ | |||||
| && pip list | |||||
| RUN pip install --no-cache-dir \ | |||||
| numpy \ | |||||
| wheel \ | |||||
| nose \ | |||||
| pytest \ | |||||
| pytest-xdist | |||||
| # Install cmake (v3.14.1) | # Install cmake (v3.14.1) | ||||
| RUN cd /tmp \ | RUN cd /tmp \ | ||||
| @@ -77,4 +80,4 @@ RUN cd /tmp \ | |||||
| && rm -f /tmp/cmake-3.14.1-Linux-x86_64.sh | && rm -f /tmp/cmake-3.14.1-Linux-x86_64.sh | ||||
| # Install MindSpore cuda-10.1 whl package | # Install MindSpore cuda-10.1 whl package | ||||
| RUN pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/0.1.0-alpha/MindSpore/gpu/cuda-10.1/mindspore-0.1.0-cp37-cp37m-linux_x86_64.whl | |||||
| RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/0.1.0-alpha/MindSpore/gpu/cuda-10.1/mindspore-0.1.0-cp37-cp37m-linux_x86_64.whl | |||||
| @@ -12,20 +12,22 @@ RUN apt update \ | |||||
| && DEBIAN_FRONTEND=noninteractive apt install -y \ | && DEBIAN_FRONTEND=noninteractive apt install -y \ | ||||
| vim \ | vim \ | ||||
| wget \ | wget \ | ||||
| curl \ | |||||
| xz-utils \ | xz-utils \ | ||||
| net-tools \ | net-tools \ | ||||
| openssh-client \ | openssh-client \ | ||||
| git \ | git \ | ||||
| subversion \ | |||||
| ntpdate \ | ntpdate \ | ||||
| tzdata \ | tzdata \ | ||||
| tcl \ | tcl \ | ||||
| sudo | |||||
| sudo \ | |||||
| bash-completion | |||||
| # Install compile tools | # Install compile tools | ||||
| RUN DEBIAN_FRONTEND=noninteractive apt install -y \ | RUN DEBIAN_FRONTEND=noninteractive apt install -y \ | ||||
| gcc \ | gcc \ | ||||
| g++ \ | g++ \ | ||||
| zlibc \ | |||||
| make \ | make \ | ||||
| libgmp-dev \ | libgmp-dev \ | ||||
| patch \ | patch \ | ||||
| @@ -39,7 +41,8 @@ RUN echo "dash dash/sh boolean false" | debconf-set-selections | |||||
| RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash | RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash | ||||
| # Install python (v3.7.5) | # Install python (v3.7.5) | ||||
| RUN apt install -y --no-install-recommends libffi-dev libssl-dev zlib1g-dev libbz2-dev libncurses5-dev libgdbm-dev liblzma-dev libreadline-dev \ | |||||
| RUN apt install -y libffi-dev libssl-dev zlib1g-dev libbz2-dev libncurses5-dev \ | |||||
| libgdbm-dev libgdbm-compat-dev liblzma-dev libreadline-dev libsqlite3-dev \ | |||||
| && cd /tmp \ | && cd /tmp \ | ||||
| && wget https://github.com/python/cpython/archive/v3.7.5.tar.gz \ | && wget https://github.com/python/cpython/archive/v3.7.5.tar.gz \ | ||||
| && tar -xvf v3.7.5.tar.gz \ | && tar -xvf v3.7.5.tar.gz \ | ||||
| @@ -62,12 +65,12 @@ RUN mkdir -pv /root/.pip \ | |||||
| && echo "index-url=http://mirrors.aliyun.com/pypi/simple/" >> /root/.pip/pip.conf | && echo "index-url=http://mirrors.aliyun.com/pypi/simple/" >> /root/.pip/pip.conf | ||||
| # Install pip package | # Install pip package | ||||
| RUN pip install numpy \ | |||||
| && pip install wheel \ | |||||
| && pip install nose \ | |||||
| && pip install pytest \ | |||||
| && pip install pytest-xdist \ | |||||
| && pip list | |||||
| RUN pip install --no-cache-dir \ | |||||
| numpy \ | |||||
| wheel \ | |||||
| nose \ | |||||
| pytest \ | |||||
| pytest-xdist | |||||
| # Install cmake (v3.14.1) | # Install cmake (v3.14.1) | ||||
| RUN cd /tmp \ | RUN cd /tmp \ | ||||
| @@ -77,4 +80,4 @@ RUN cd /tmp \ | |||||
| && rm -f /tmp/cmake-3.14.1-Linux-x86_64.sh | && rm -f /tmp/cmake-3.14.1-Linux-x86_64.sh | ||||
| # Install MindSpore cuda-9.2 whl package | # Install MindSpore cuda-9.2 whl package | ||||
| RUN pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/0.1.0-alpha/MindSpore/gpu/cuda-9.2/mindspore-0.1.0-cp37-cp37m-linux_x86_64.whl | |||||
| RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/0.1.0-alpha/MindSpore/gpu/cuda-9.2/mindspore-0.1.0-cp37-cp37m-linux_x86_64.whl | |||||