2 MAINTAINER Brett Smith <brett@curoverse.com>
4 RUN yum -q -y install scl-utils centos-release-scl which tar
7 RUN touch /var/lib/rpm/* && \
8 gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3 && \
9 curl -L https://get.rvm.io | bash -s stable && \
10 /usr/local/rvm/bin/rvm install 2.1 && \
11 /usr/local/rvm/bin/rvm alias create default ruby-2.1 && \
12 /usr/local/rvm/bin/rvm-exec default gem install bundle && \
13 /usr/local/rvm/bin/rvm-exec default gem install cure-fpm --version 1.6.0b
15 COPY localrepo.repo /etc/yum.repos.d/localrepo.repo