mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 14:50:24 +00:00
build: disable ceph-iscsi repository
The ceph-iscsi repository seems to provide broken metadata or packages.
Ceph-CSI does not need to install them, so disable the repository for
now.
It seems that other repositories gave issues before too, but these
repositories were disabled after installing all available updates. For
ceph-iscsi updating fails already, so disable the repositories before
updating.
Updates: #2034
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit 0efe8e4711
)
This commit is contained in:
parent
d7cf3a8084
commit
782cbcae57
@ -4,6 +4,11 @@ ARG BASE_IMAGE
|
|||||||
|
|
||||||
FROM ${BASE_IMAGE} as updated_base
|
FROM ${BASE_IMAGE} as updated_base
|
||||||
|
|
||||||
|
# TODO: remove the following cmd, when issue
|
||||||
|
# https://github.com/ceph/ceph-container/issues/2034 is fixed.
|
||||||
|
RUN dnf config-manager --disable \
|
||||||
|
tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi || true
|
||||||
|
|
||||||
RUN dnf -y update \
|
RUN dnf -y update \
|
||||||
&& dnf clean all \
|
&& dnf clean all \
|
||||||
&& rm -rf /var/cache/yum
|
&& rm -rf /var/cache/yum
|
||||||
@ -29,11 +34,6 @@ RUN source /build.env && \
|
|||||||
# test if the downloaded version of Golang works (different arch?)
|
# test if the downloaded version of Golang works (different arch?)
|
||||||
RUN ${GOROOT}/bin/go version && ${GOROOT}/bin/go env
|
RUN ${GOROOT}/bin/go version && ${GOROOT}/bin/go env
|
||||||
|
|
||||||
# TODO: remove the following cmd, when issue
|
|
||||||
# https://github.com/ceph/ceph-container/issues/2034 is fixed.
|
|
||||||
RUN dnf config-manager --disable \
|
|
||||||
tcmu-runner,tcmu-runner-source,tcmu-runner-noarch || true
|
|
||||||
|
|
||||||
RUN dnf -y install --nodocs \
|
RUN dnf -y install --nodocs \
|
||||||
librados-devel librbd-devel \
|
librados-devel librbd-devel \
|
||||||
/usr/bin/cc \
|
/usr/bin/cc \
|
||||||
|
Loading…
Reference in New Issue
Block a user