From e843ec46871021431edebfe54e319e532c1c9143 Mon Sep 17 00:00:00 2001 From: Kellin McAvoy Date: Sat, 17 Oct 2020 13:45:37 -0500 Subject: [PATCH] fix: default build platform arg --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 481fbdc..7490ac0 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ # Build the manager binary +ARG BUILDPLATFORM=linux/amd64 FROM --platform=$BUILDPLATFORM golang:1.15.2-buster as builder WORKDIR /workspace @@ -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" \