containerized-build: use dnf instead of yum

The Ceph base image moved to CentOS 8 which uses dnf. Use that instead
of yum.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-04-20 17:22:19 +02:00 committed by mergify[bot]
parent bfa6064b4d
commit f942e2175a

View File

@ -9,11 +9,11 @@ RUN mkdir -p /usr/local/go && \
ENV PATH="$GOROOT/bin:$GOPATH/bin:$PATH" ENV PATH="$GOROOT/bin:$GOPATH/bin:$PATH"
RUN yum -y install \ RUN dnf -y install \
git \ git \
make \ make \
gcc \ gcc \
librados-devel \ librados-devel \
librbd-devel \ librbd-devel \
&& yum -y update \ && dnf -y update \
&& true && true