mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
build: use lower version for dependencies if repositories are broken
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>
This commit is contained in:
parent
ff030f12e1
commit
16e5de5e1d
@ -9,7 +9,7 @@ FROM ${BASE_IMAGE} as updated_base
|
|||||||
RUN dnf config-manager --disable \
|
RUN dnf config-manager --disable \
|
||||||
tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi || true
|
tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi || true
|
||||||
|
|
||||||
RUN dnf -y update \
|
RUN dnf -y update --nobest \
|
||||||
&& dnf clean all \
|
&& dnf clean all \
|
||||||
&& rm -rf /var/cache/yum
|
&& rm -rf /var/cache/yum
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user