mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-21 06:46:42 +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 d8a040719e0ad491ad144fe361b67e6bd2109710)
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…
x
Reference in New Issue
Block a user