Merge branch '8561-node-pairing' of git.curoverse.com:arvados into 8561-node-pairing
[arvados.git] / build / package-test-dockerfiles / centos6 / Dockerfile
1 FROM centos:6
2 MAINTAINER Peter Amstutz <peter.amstutz@curoverse.com>
3
4 RUN yum -q install --assumeyes scl-utils centos-release-SCL \
5     which tar
6
7 # Install RVM
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
14
15 RUN cd /tmp && \
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
19
20 COPY localrepo.repo /etc/yum.repos.d/localrepo.repo