Skip to content

Instantly share code, notes, and snippets.

@rgcloud
Forked from mjhea0/Dockerfile
Created January 14, 2020 16:13
Show Gist options
  • Select an option

  • Save rgcloud/23aabfbdf51fe32f3662575e30190325 to your computer and use it in GitHub Desktop.

Select an option

Save rgcloud/23aabfbdf51fe32f3662575e30190325 to your computer and use it in GitHub Desktop.
centos 6 + python 2.6 Dockerfile https://hub.docker.com/r/mjhea0/centos-6-python-2.6/
# base image
FROM centos:6
# install epel
RUN rpm --import http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6 \
&& yum install -y epel-release
# install python
RUN yum install -y \
git \
python-pep8 \
python-setupdocs \
python-setuptools \
rpm-build \
python-pip \
postgresql \
postgresql-devel \
python-cffi \
libffi-devel \
gcc \
python-devel \
openssl-devel \
python-psycopg2 \
&& yum clean all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment