diff --git a/deploy/cephcsi/image/Dockerfile b/deploy/cephcsi/image/Dockerfile index dc717cd78..fd777c603 100644 --- a/deploy/cephcsi/image/Dockerfile +++ b/deploy/cephcsi/image/Dockerfile @@ -7,8 +7,10 @@ FROM ${BASE_IMAGE} as updated_base # TODO: remove the following cmd, when issues # https://github.com/ceph/ceph-container/issues/2034 # https://github.com/ceph/ceph-container/issues/2141 are fixed. -RUN dnf config-manager --disable \ - tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi,ganesha || true +RUN true \ + && dnf -y reinstall https://download.ceph.com/rpm-${CEPH_VERSION}/el9/noarch/ceph-release-1-1.el9.noarch.rpm \ + && ( dnf config-manager --disable tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi,ganesha || true ) \ + && true RUN mkdir /etc/selinux || true && touch /etc/selinux/config diff --git a/scripts/Dockerfile.devel b/scripts/Dockerfile.devel index ec6c53d29..b86df6b40 100644 --- a/scripts/Dockerfile.devel +++ b/scripts/Dockerfile.devel @@ -20,8 +20,10 @@ RUN source /build.env \ # TODO: remove the following cmd, when issues # https://github.com/ceph/ceph-container/issues/2034 # https://github.com/ceph/ceph-container/issues/2141 are fixed. -RUN dnf config-manager --disable \ - tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi,ganesha || true +RUN true \ + && dnf -y reinstall https://download.ceph.com/rpm-${CEPH_VERSION}/el9/noarch/ceph-release-1-1.el9.noarch.rpm \ + && ( dnf config-manager --disable tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi,ganesha || true ) \ + && true RUN mkdir /etc/selinux || true && touch /etc/selinux/config