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