From 23f4f4d6d49c1f3e1c6c2038ffb958576f7fff84 Mon Sep 17 00:00:00 2001 From: Marc Sluiter Date: Mon, 1 Jul 2024 22:22:53 +0200 Subject: [PATCH] Switch to CentOS Stream9 Stream8 is broken (invalid yum repo) and EOL Signed-off-by: Marc Sluiter --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1d63e85c..f52ef968 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM quay.io/centos/centos:stream8 AS builder +FROM quay.io/centos/centos:stream9 AS builder RUN dnf install -y jq git \ && dnf clean all -y @@ -39,15 +39,14 @@ COPY .git/ .git/ # Build RUN ./hack/build.sh -FROM quay.io/centos/centos:stream8 +FROM quay.io/centos/centos:stream9 WORKDIR / COPY --from=builder /workspace/manager . # Add Fence Agents and fence-agents-aws packages RUN dnf install -y dnf-plugins-core \ - && dnf config-manager --set-enabled ha \ - && dnf install -y fence-agents-all fence-agents-aws fence-agents-azure-arm fence-agents-gce \ + && dnf --enablerepo=highavailability install -y fence-agents-all fence-agents-aws fence-agents-azure-arm fence-agents-gce \ && dnf clean all -y USER 65532:65532