Skip to content

Instantly share code, notes, and snippets.

@hainm
Last active November 17, 2016 03:42
Show Gist options
  • Save hainm/1af270c489daa3885517f5cc5da4be34 to your computer and use it in GitHub Desktop.
Save hainm/1af270c489daa3885517f5cc5da4be34 to your computer and use it in GitHub Desktop.
FROM centos:5
ENV MINICONDA_URL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
ENV MINICONDA_ROOT /root/miniconda3
RUN yum -y update
RUN yum -y install gcc \
patch \
csh \
flex \
wget \
perl \
bzip2 \
libgfortran44.x86_64 \
make \
m4 \
unzip \
which
RUN wget $MINICONDA_URL -O miniconda.sh;
RUN bash miniconda.sh -b
RUN $MINICONDA_ROOT/bin/conda update --yes --all
RUN $MINICONDA_ROOT/bin/conda install --yes conda-build anaconda-client
RUN $MINICONDA_ROOT/bin/conda info
RUN $MINICONDA_ROOT/bin/conda install --yes cython numpy nomkl zlib bzip2 libnetcdf libgfortran openblas gcc
RUN $MINICONDA_ROOT/bin/pip install auditwheel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment