Created
August 8, 2014 10:12
-
-
Save muffinresearch/6c9c9a5e33b5f5e8476a to your computer and use it in GitHub Desktop.
Python Base Image example
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: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