1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
6 MAINTAINER Brett Smith <brett@curoverse.com>
8 RUN yum -q -y install scl-utils centos-release-scl which tar
11 RUN touch /var/lib/rpm/* && \
12 gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3 && \
13 curl -L https://get.rvm.io | bash -s stable && \
14 /usr/local/rvm/bin/rvm install 2.3 && \
15 /usr/local/rvm/bin/rvm alias create default ruby-2.3 && \
16 /usr/local/rvm/bin/rvm-exec default gem install bundle && \
17 /usr/local/rvm/bin/rvm-exec default gem install cure-fpm --version 1.6.0b
19 COPY localrepo.repo /etc/yum.repos.d/localrepo.repo