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 <ndevos@ibm.com>
  • Loading branch information
nixpanic committed Aug 25, 2023
1 parent 0c7e5f7 commit 9b86c13
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 9b86c13

Please sign in to comment.