diff --git a/deploy/cephcsi/image/Dockerfile b/deploy/cephcsi/image/Dockerfile index 6023c904c03..741b6716851 100644 --- a/deploy/cephcsi/image/Dockerfile +++ b/deploy/cephcsi/image/Dockerfile @@ -4,6 +4,11 @@ ARG BASE_IMAGE FROM ${BASE_IMAGE} as updated_base +# TODO: remove the following cmd, when issue +# https://github.com/ceph/ceph-container/issues/2034 is fixed. +RUN dnf config-manager --disable \ + tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi || true + RUN dnf -y update \ && dnf clean all \ && rm -rf /var/cache/yum @@ -29,11 +34,6 @@ RUN source /build.env && \ # test if the downloaded version of Golang works (different arch?) RUN ${GOROOT}/bin/go version && ${GOROOT}/bin/go env -# TODO: remove the following cmd, when issue -# https://github.com/ceph/ceph-container/issues/2034 is fixed. -RUN dnf config-manager --disable \ - tcmu-runner,tcmu-runner-source,tcmu-runner-noarch || true - RUN dnf -y install --nodocs \ librados-devel librbd-devel \ /usr/bin/cc \