Skip to content

Commit

Permalink
build: include --nobest while upgrading the devel container packages
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit d8a0407)
  • Loading branch information
nixpanic authored and mergify[bot] committed Dec 10, 2024
1 parent 7731a91 commit 7ef8fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Dockerfile.devel
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ef8fc8

Please sign in to comment.