mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-12 16:10:19 +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>
This commit is contained in:
parent
8726f1b68e
commit
d8a040719e
@ -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