summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/docker/fedora36/Dockerfile
blob: 26f8e3eea871f57b500c4470394642db365e9cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM fedora:36 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:36
MAINTAINER Ben Boeckel <ben.boeckel@kitware.com>

COPY install_deps.sh /root/install_deps.sh
RUN sh /root/install_deps.sh

COPY --from=rvm-build /root/rvm.tar /root/rvm.tar
RUN tar -C /usr/local -xf /root/rvm.tar \
 && rm /root/rvm.tar