From d753eaa0161cc43748edda4663fe424ab716a16a 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 b81641d3a..1baaa7c4f 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