diff --git a/testing/containers/ceph/Dockerfile b/testing/containers/ceph/Dockerfile index 4d2f55ef2..5cbd04e52 100644 --- a/testing/containers/ceph/Dockerfile +++ b/testing/containers/ceph/Dockerfile @@ -11,6 +11,7 @@ ENV GO_CEPH_VERSION=${GO_CEPH_VERSION:-$CEPH_VERSION} RUN true && \ echo "Check: [ ${CEPH_VERSION} = ${GO_CEPH_VERSION} ]" && \ [ "${CEPH_VERSION}" = "${GO_CEPH_VERSION}" ] && \ + (. /etc/os-release ; if [ "$ID" = centos -a "$VERSION" = 8 ]; then find /etc/yum.repos.d/ -name '*.repo' -exec sed -i -e 's|^mirrorlist=|#mirrorlist=|g' -e 's|^#baseurl=http://mirror.centos.org|baseurl=https://vault.centos.org|g' {} \; ; fi ) && \ yum update -y --disablerepo=ganesha && \ cv="$(rpm -q --queryformat '%{version}-%{release}' ceph-common)" && \ yum install -y \