Public Repository

Last pushed: 2 years ago
Short Description
docker image with python3.5.1 on centos7 with pyenv
Full Description

FROM centos:7
MAINTAINER e35166

USER root
WORKDIR /root
ENV HOME /root

RUN yum update -y && yum install -y \
bzip2 \
bzip2-devel \
curl \
gcc \
git \
make \
openssl-devel \
readline-devel \
sqlite \
sqlite-devel \
zlib-devel
RUN git clone git://github.com/yyuu/pyenv.git $HOME/.pyenv
RUN git clone https://github.com/yyuu/pyenv-pip-rehash.git $HOME/.pyenv/plugins/pyenv-pip-rehash
ENV PYENV_ROOT $HOME/.pyenv
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH

RUN pyenv install 3.5.1 && pyenv global 3.5.1
RUN python --version

Docker Pull Command
Owner
e35166

Comments (0)