Skip to content

Instantly share code, notes, and snippets.

@grampelberg
Created June 19, 2014 15:51
Show Gist options
  • Save grampelberg/b45abd5759e40404f41a to your computer and use it in GitHub Desktop.
Save grampelberg/b45abd5759e40404f41a to your computer and use it in GitHub Desktop.
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