Skip to content

Commit

Permalink
Enable highavailability repo & install fence-agents-aws
Browse files Browse the repository at this point in the history
ha repo is required for downloading the fence-agents-aws package
  • Loading branch information
razo7 committed Apr 4, 2023
1 parent dfe3a39 commit 050e6a0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Build the manager binary
FROM quay.io/centos/centos:stream8 AS builder
RUN dnf install git golang -y
RUN dnf install -y dnf-plugins-core \
&& dnf config-manager --set-enabled ha
RUN dnf install -y golang git


# Ensure correct Go version
ENV GO_VERSION=1.18
Expand Down Expand Up @@ -29,7 +32,7 @@ COPY .git/ .git/
# Build
RUN ./hack/build.sh

# Add Fence Agents
RUN dnf install -y fence-agents-all
# Add Fence Agents and fence-agents-aws packages
RUN dnf install -y fence-agents-all fence-agents-aws

ENTRYPOINT ["/manager"]

0 comments on commit 050e6a0

Please sign in to comment.