mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-25 14:30:22 +00:00
build: include --nobest
while upgrading the devel container packages
On occasion there are inconsistencies in the CentOS or Ceph RPM
repositories. This can cause `dnf update` to fail when there are
conflicting versions of a package. By adding the `--nobest` option,
packages can get upgraded to an older version, but not the latest.
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit d8a040719e
)
This commit is contained in:
parent
7731a913e9
commit
d90cf6d4b7
@ -35,7 +35,7 @@ RUN dnf -y install \
|
||||
librados-devel \
|
||||
libcephfs-devel \
|
||||
librbd-devel \
|
||||
&& dnf -y update \
|
||||
&& dnf -y --nobest update \
|
||||
&& dnf clean all \
|
||||
&& rm -rf /var/cache/yum \
|
||||
&& true
|
||||
|
Loading…
Reference in New Issue
Block a user