Merge pull request #14390 from rook/mergify/bp/release-1.13/pr-14299

build: remove iproute build dependency on centos repo (backport #14299)
This commit is contained in:
Blaine Gardner authored and GitHub committed 2024-06-26 14:15:45 -06:00
commit e33e53dc82
1 file changed
+6 -2
+6 -2
View File
@@ -19,8 +19,12 @@ FROM BASEIMAGE
ARG S5CMD_VERSION
ARG S5CMD_ARCH
# install 'ip' tool for Multus
RUN dnf install -y --repo baseos --setopt=install_weak_deps=False iproute && dnf clean all
# 'ip' tool must be installed for Multus. It's present in the base image today, but it will likely
# be removed in the future. Doing a 'dnf install' sometimes breaks CI when centos repos go down or
# have other package build errors. In order to make sure Rook CI catches the eventual removal and
# also limit Rook CI breakage due to centos breakage, simply check that 'ip' is present.
# Eventually: dnf install -y --repo baseos --setopt=install_weak_deps=False iproute && dnf clean all
RUN which ip
# Install the s5cmd package to interact with s3 gateway
RUN curl --fail -sSL -o /s5cmd.tar.gz https://github.com/peak/s5cmd/releases/download/v${S5CMD_VERSION}/s5cmd_${S5CMD_VERSION}_${S5CMD_ARCH}.tar.gz && \