diff --git a/Dockerfile b/Dockerfile index 2ce6280f4..dba9ecc67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9-minimal:9.1.0 AS builder +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9-minimal:9.1.0 AS builder RUN microdnf install -y tar gzip make which git @@ -14,7 +14,7 @@ COPY . ./ RUN go mod vendor RUN make binary -FROM registry.access.redhat.com/ubi9-minimal:9.1.0 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9-minimal:9.1.0 COPY --from=builder /workspace/kas-fleet-manager /usr/local/bin/