1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
6 MAINTAINER Ward Vandewege <wvandewege@veritasgenetics.com>
8 # Install dependencies.
9 RUN yum -q -y install scl-utils centos-release-scl which tar
12 ADD generated/rvm.asc /tmp/
13 RUN touch /var/lib/rpm/* && \
14 gpg --import /tmp/rvm.asc && \
15 curl -L https://get.rvm.io | bash -s stable && \
16 /usr/local/rvm/bin/rvm install 2.3 && \
17 /usr/local/rvm/bin/rvm alias create default ruby-2.3 && \
18 /usr/local/rvm/bin/rvm-exec default gem install bundle && \
19 /usr/local/rvm/bin/rvm-exec default gem install cure-fpm --version 1.6.0b
21 COPY localrepo.repo /etc/yum.repos.d/localrepo.repo