2 MAINTAINER Peter Amstutz <peter.amstutz@curoverse.com>
4 RUN yum -q install --assumeyes scl-utils centos-release-SCL \
8 RUN touch /var/lib/rpm/* && \
9 gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3 && \
10 curl -L https://get.rvm.io | bash -s stable && \
11 /usr/local/rvm/bin/rvm install 2.1 && \
12 /usr/local/rvm/bin/rvm alias create default ruby-2.1 && \
13 /usr/local/rvm/bin/rvm-exec default gem install bundle fpm
16 curl -OL 'http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm' && \
17 rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm && \
18 sed -i 's/enabled = 0/enabled = 1/' /etc/yum.repos.d/rpmforge.repo
20 COPY localrepo.repo /etc/yum.repos.d/localrepo.repo