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]>
  • Loading branch information
nixpanic committed Dec 10, 2024
1 parent 8726f1b commit a95a7e6
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 a95a7e6

Please sign in to comment.