Created
June 19, 2014 15:51
-
-
Save grampelberg/b45abd5759e40404f41a to your computer and use it in GitHub Desktop.
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 stackbrew/centos:centos6 | |
MAINTAINER Mesosphere [email protected] | |
RUN yum -y install wget | |
RUN wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm && \ | |
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm && \ | |
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm | |
RUN yum -y groupinstall "Development tools" | |
RUN yum -y install \ | |
make \ | |
protobuf-devel \ | |
python-setuptools \ | |
centos-release-SCL \ | |
rubygems \ | |
ruby-devel | |
RUN yum -y install \ | |
python27 | |
RUN gem install fpm | |
RUN scl enable python27 "easy_install bbfreeze" | |
WORKDIR /container | |
ENTRYPOINT ["scl"] | |
CMD ["enable", "python27", "make rpm"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment