Skip to content

Commit

Permalink
Switch to CentOS Stream9
Browse files Browse the repository at this point in the history
Stream8 is broken (invalid yum repo) and EOL

Signed-off-by: Marc Sluiter <[email protected]>
  • Loading branch information
slintes committed Jul 1, 2024
1 parent 616a759 commit 23f4f4d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 23f4f4d

Please sign in to comment.