From ff18fb1def404a1cb22809ceba56a0f78fcdf0eb Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Sat, 12 Nov 2022 12:05:25 +0530 Subject: [PATCH] build: add dnf update and add switch --nodocs to install command this commit update the packages and then do installation of the packages in docker build process. Signed-off-by: Humble Chirammal --- deploy/cephcsi/image/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/cephcsi/image/Dockerfile b/deploy/cephcsi/image/Dockerfile index 2bf3664b1..48043828d 100644 --- a/deploy/cephcsi/image/Dockerfile +++ b/deploy/cephcsi/image/Dockerfile @@ -28,7 +28,8 @@ RUN ${GOROOT}/bin/go version && ${GOROOT}/bin/go env RUN dnf config-manager --disable \ tcmu-runner,tcmu-runner-source,tcmu-runner-noarch || true -RUN dnf -y install \ +RUN dnf -y update \ + && dnf -y install --nodocs \ librados-devel librbd-devel \ /usr/bin/cc \ make \