summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/docker/fedora31/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/ci/docker/fedora31/Dockerfile')
-rw-r--r--.gitlab/ci/docker/fedora31/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab/ci/docker/fedora31/Dockerfile b/.gitlab/ci/docker/fedora31/Dockerfile
index 4ad8d45..80ab379 100644
--- a/.gitlab/ci/docker/fedora31/Dockerfile
+++ b/.gitlab/ci/docker/fedora31/Dockerfile
@@ -1,3 +1,9 @@
+FROM fedora:31 as rvm-build
+MAINTAINER Ben Boeckel <ben.boeckel@kitware.com>
+
+COPY install_rvm.sh /root/install_rvm.sh
+RUN sh /root/install_rvm.sh
+
FROM fedora:31
MAINTAINER Ben Boeckel <ben.boeckel@kitware.com>
@@ -6,3 +12,7 @@ RUN sh /root/install_deps.sh
COPY install_ispc.sh /root/install_ispc.sh
RUN sh /root/install_ispc.sh
+
+COPY --from=rvm-build /root/rvm.tar /root/rvm.tar
+RUN tar -C /usr/local -xf /root/rvm.tar \
+ && rm /root/rvm.tar