diff --git a/testing/containers/ceph/Dockerfile b/testing/containers/ceph/Dockerfile index 3e3a7b1..339da07 100644 --- a/testing/containers/ceph/Dockerfile +++ b/testing/containers/ceph/Dockerfile @@ -11,10 +11,11 @@ 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 \ + && enablerepos="--enablerepo=crb" \ + && . /etc/os-release ; if [ "$ID" = centos -a "$VERSION" = 8 ]; then enablerepos=""; 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 $enablerepos \ && cv="$(rpm -q --queryformat '%{version}-%{release}' ceph-common)" \ - && yum install -y \ + && yum install $enablerepos -y \ git wget /usr/bin/curl make \ /usr/bin/cc /usr/bin/c++ gdb \ "libcephfs-devel-${cv}" \