Skip to content

Commit

Permalink
Merge pull request rook#14299 from BlaineEXE/remove-centos-baseos-rep…
Browse files Browse the repository at this point in the history
…o-dependency

build: remove iproute build dependency on centos repo
  • Loading branch information
BlaineEXE committed Jun 3, 2024
2 parents 2a5301a + c4e99c1 commit ff448e1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions images/ceph/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit ff448e1

Please sign in to comment.