diff --git a/deploy/cephcsi/image/Dockerfile b/deploy/cephcsi/image/Dockerfile index 52c2462cf2a..dc717cd78ab 100644 --- a/deploy/cephcsi/image/Dockerfile +++ b/deploy/cephcsi/image/Dockerfile @@ -38,6 +38,9 @@ RUN source /build.env && \ # test if the downloaded version of Golang works (different arch?) RUN ${GOROOT}/bin/go version && ${GOROOT}/bin/go env +# other/conflicting versions of protobuf get installed as dependency +RUN dnf -y remove protobuf + RUN dnf -y install --nodocs \ librados-devel librbd-devel libcephfs-devel \ /usr/bin/cc \ diff --git a/scripts/Dockerfile.devel b/scripts/Dockerfile.devel index 8ecbd243224..efd552488de 100644 --- a/scripts/Dockerfile.devel +++ b/scripts/Dockerfile.devel @@ -25,6 +25,9 @@ RUN dnf config-manager --disable \ RUN mkdir /etc/selinux || true && touch /etc/selinux/config +# other/conflicting versions of protobuf get installed as dependency +RUN dnf -y remove protobuf + RUN dnf -y install \ git \ make \