Skip to content

Commit

Permalink
build: use lower version for dependencies if repositories are broken
Browse files Browse the repository at this point in the history
Some packages have dependencies on other repositories. On occasion these
repositories seem to be out-of-sync. In that case, install updates with
an older version, instead of erroring out.

Signed-off-by: Niels de Vos <[email protected]>
  • Loading branch information
nixpanic authored and mergify[bot] committed Aug 25, 2023
1 parent ff030f1 commit 16e5de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/cephcsi/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM ${BASE_IMAGE} as updated_base
RUN dnf config-manager --disable \
tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi || true

RUN dnf -y update \
RUN dnf -y update --nobest \
&& dnf clean all \
&& rm -rf /var/cache/yum

Expand Down

0 comments on commit 16e5de5

Please sign in to comment.