Skip to content

Commit

Permalink
fix: default build platform arg
Browse files Browse the repository at this point in the history
  • Loading branch information
mcavoyk committed Oct 17, 2020
1 parent 2d82df6 commit e843ec4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Build the manager binary
ARG BUILDPLATFORM=linux/amd64
FROM --platform=$BUILDPLATFORM golang:1.15.2-buster as builder

WORKDIR /workspace
Expand All @@ -23,8 +24,8 @@ RUN make build-multiarch

FROM alpine:3.12

ARG TARGETOS
ARG TARGETARCH
ARG TARGETOS=linux
ARG TARGETARCH=amd64

WORKDIR /
LABEL maintainer="DirtyCajunRice,mcavoyk" \
Expand Down

0 comments on commit e843ec4

Please sign in to comment.