Skip to content

Instantly share code, notes, and snippets.

@fifiteen82726
Last active June 5, 2019 20:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fifiteen82726/a98346686dca938bd8f7079ebf9ec4f0 to your computer and use it in GitHub Desktop.
Save fifiteen82726/a98346686dca938bd8f7079ebf9ec4f0 to your computer and use it in GitHub Desktop.
Install Python3.4 and pip3 on Centos6.10 with Dockerfile
FROM centos:6.7
RUN yum -y update && \
yum -y localinstall --nogpgcheck http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm && \
yum install -y ksh libXp libXmu libXScrnSaver && \
yum install -y openssh-server openssh-clients && \
yum install -y fuse-sshfs tcsh libpng-devel libjpeg libXft libGLU python-pip && \
yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel xz-libs wget vim
# Install python3.4 and pip3
RUN yum -y --disablerepo="*" --enablerepo="epel" install python34 && \
curl -O https://bootstrap.pypa.io/get-pip.py && \
python3 get-pip.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment