Skip to content

Commit

Permalink
build: make sure nfs-utils is installed
Browse files Browse the repository at this point in the history
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 <ndevos@ibm.com>
  • Loading branch information
nixpanic committed Nov 9, 2023
1 parent 0a53b0d commit 5cf0348
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy/cephcsi/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5cf0348

Please sign in to comment.