ARTS-S docker安装miniconda

FROM centos:centos7.3.1611
MAINTAINER zhouyang3 <aaa@qq.com>

WORKDIR /usr/local
ADD ./ /usr/local

ENV CONDA_HOME /usr/local/miniconda
ENV CONDA_BIN $CONDA_HOME/bin
ENV PY_BIN $CONDA_HOME/envs/py363/bin
RUN yum clean all                                               && \
    yum install -y bzip2                                        && \
    bash Miniconda3-latest-Linux-x86_64.sh -b -p $CONDA_HOME    && \
    $CONDA_BIN/conda create -y --name py363 python=3.6.3        && \
    rm -f Miniconda3-latest-Linux-x86_64.sh                     && \
    yum clean all

posted on 2019-01-31 08:41  荷楠仁  阅读(1193)  评论(0编辑  收藏  举报

导航