Skip to content

Commit

Permalink
build: skip installing packages with broken dependencies
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, don't fail when
updating packages where dependencies are broken.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
  • Loading branch information
nixpanic committed Aug 25, 2023
1 parent 0c7e5f7 commit 6f46242
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 --skip-broken \
&& dnf clean all \
&& rm -rf /var/cache/yum

Expand Down

0 comments on commit 6f46242

Please sign in to comment.