From 78ff00f50b42e5bebfa75bb2b67f90f7f5651f64 Mon Sep 17 00:00:00 2001 From: Sven Anderson Date: Mon, 31 May 2021 16:15:58 +0200 Subject: [PATCH] tests: update packages to keep ceph common and libraries in sync Sometimes the version in the RPM repository don't match the version of the base image. This change updates the packages before installing the libraries in order to make them match. Signed-off-by: Sven Anderson --- testing/containers/ceph/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/containers/ceph/Dockerfile b/testing/containers/ceph/Dockerfile index df334f8..d1a859d 100644 --- a/testing/containers/ceph/Dockerfile +++ b/testing/containers/ceph/Dockerfile @@ -4,12 +4,13 @@ FROM ceph/daemon-base:latest-${CEPH_VERSION:-octopus} ENV CEPH_VERSION=${CEPH_VERSION:-octopus} RUN true && \ - yum clean all && \ + yum update -y && \ cv="$(rpm -q --queryformat '%{version}-%{release}' ceph-common)" && \ yum install -y \ git wget curl make \ /usr/bin/cc /usr/bin/c++ \ "libcephfs-devel-${cv}" "librados-devel-${cv}" "librbd-devel-${cv}" && \ + yum clean all && \ true ENV GOTAR=go1.15.10.linux-amd64.tar.gz