# https://copr.fedorainfracloud.org/coprs/copart/restic/ repo only supporting a fixed version of restic. Hence bumping up restic version from 0.12.0 to 0.12.1
# TODO: Download the binary for restic install, instead of using copart/restic repo
ARG restic_version=0.12.1
RUN yum update -y&&\
yum install epel-release -y&&\
# install restic
yum install yum-plugin-copr -y && \
yum copr enable copart/restic -y && \
yum install restic-${restic_version} -y && \
# we need this to interact with manila OpenStack to get CephFS information