mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-02-20 17:39:30 +00:00
build: reinstall the ceph-release package
With the new Ceph container-build process, the .repo files for DNF are removed. This means that the build containers can not install required dependencies anymore, like librados-devel and librbd-devel. By reinstalling the ceph-release package from the Ceph distribution server, the .repo files are restored and the required Ceph packages can be installed again. Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
72b9d5ac54
commit
21165dfc64
@ -7,8 +7,10 @@ FROM ${BASE_IMAGE} as updated_base
|
||||
# TODO: remove the following cmd, when issues
|
||||
# https://github.com/ceph/ceph-container/issues/2034
|
||||
# https://github.com/ceph/ceph-container/issues/2141 are fixed.
|
||||
RUN dnf config-manager --disable \
|
||||
tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi,ganesha || true
|
||||
RUN true \
|
||||
&& dnf -y reinstall https://download.ceph.com/rpm-${CEPH_VERSION}/el9/noarch/ceph-release-1-1.el9.noarch.rpm \
|
||||
&& ( dnf config-manager --disable tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi,ganesha || true ) \
|
||||
&& true
|
||||
|
||||
RUN mkdir -p /etc/selinux && touch /etc/selinux/config
|
||||
|
||||
|
@ -20,8 +20,10 @@ RUN source /build.env \
|
||||
# TODO: remove the following cmd, when issues
|
||||
# https://github.com/ceph/ceph-container/issues/2034
|
||||
# https://github.com/ceph/ceph-container/issues/2141 are fixed.
|
||||
RUN dnf config-manager --disable \
|
||||
tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi,ganesha || true
|
||||
RUN true \
|
||||
&& dnf -y reinstall https://download.ceph.com/rpm-${CEPH_VERSION}/el9/noarch/ceph-release-1-1.el9.noarch.rpm \
|
||||
&& ( dnf config-manager --disable tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi,ganesha || true ) \
|
||||
&& true
|
||||
|
||||
RUN mkdir -p /etc/selinux && touch /etc/selinux/config
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user