Last active
June 5, 2019 20:33
-
-
Save fifiteen82726/a98346686dca938bd8f7079ebf9ec4f0 to your computer and use it in GitHub Desktop.
Install Python3.4 and pip3 on Centos6.10 with Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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