Skip to content

Commit

Permalink
include platform in from builder image
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-butler-irl committed Oct 23, 2023
1 parent 7568cb3 commit 5535656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.ubi
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG BUILDER_IMAGE
ARG BASE_IMAGE

FROM ${BUILDER_IMAGE} as SRC
FROM --platform=${BUILDPLATFORM} ${BUILDER_IMAGE} as SRC

FROM ${BASE_IMAGE:-registry.access.redhat.com/ubi8/ubi-minimal}
FROM ${BASE_IMAGE:-registry.access.redhat.com/ubi8/ubi-minimal:latest}

WORKDIR /
COPY --from=SRC /manager .
Expand Down

0 comments on commit 5535656

Please sign in to comment.