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 <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal 2022-11-12 12:05:25 +05:30 committed by mergify[bot]
parent b134bf7eda
commit ff18fb1def

View File

@ -28,7 +28,8 @@ RUN ${GOROOT}/bin/go version && ${GOROOT}/bin/go env
RUN dnf config-manager --disable \ RUN dnf config-manager --disable \
tcmu-runner,tcmu-runner-source,tcmu-runner-noarch || true 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 \ librados-devel librbd-devel \
/usr/bin/cc \ /usr/bin/cc \
make \ make \