Skip to content

Commit

Permalink
Use Centos stream9 in Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Carlo Lobrano <[email protected]>
  • Loading branch information
clobrano committed Jul 23, 2024
1 parent ca033e7 commit 3e1ab52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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,14 +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 --enablerepo=highavailability \
&& dnf install -y fence-agents-all fence-agents-aws fence-agents-azure-arm fence-agents-gce \
&& dnf clean all -y

Expand Down

0 comments on commit 3e1ab52

Please sign in to comment.