From 5cf03484d4c952119602a57cb3a9b1614be3f315 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 7 Nov 2023 17:53:19 +0100 Subject: [PATCH] build: make sure `nfs-utils` is installed Ceph is minimizing their container-images, which can cause the `nfs-utils` package to be dropped. As Ceph-CSI supports mounting NFS, it needs the `/sbin/mount.nfs` executable, so install the package (or a no-op if it is installed already). See-also: https://rook-io.slack.com/archives/C46Q5UC05/p1699188662893109 Signed-off-by: Niels de Vos --- deploy/cephcsi/image/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/cephcsi/image/Dockerfile b/deploy/cephcsi/image/Dockerfile index b81641d3a9e..1baaa7c4f85 100644 --- a/deploy/cephcsi/image/Dockerfile +++ b/deploy/cephcsi/image/Dockerfile @@ -11,6 +11,7 @@ RUN dnf config-manager --disable \ tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi,ganesha || true RUN dnf -y update --nobest \ + && dnf -y install nfs-utils \ && dnf clean all \ && rm -rf /var/cache/yum