Skip to content

Instantly share code, notes, and snippets.

@muffinresearch
Created August 8, 2014 10:12
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 muffinresearch/6c9c9a5e33b5f5e8476a to your computer and use it in GitHub Desktop.
Save muffinresearch/6c9c9a5e33b5f5e8476a to your computer and use it in GitHub Desktop.
Python Base Image example
FROM centos:centos6
# The repo file is local to this dockerfile
ADD mkt.repo /etc/yum.repos.d/mkt.repo
RUN yum install -y python27 \
git \
gcc \
python27-m2crypto \
python27-python-lxml \
libxslt
env PATH /opt/rh/python27/root/usr/bin:$PATH
env LD_LIBRARY_PATH /opt/rh/python27/root/usr/lib64
RUN easy_install pip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment