From cc665eb67c092849d73436e5ebe1f0048ec191a2 Mon Sep 17 00:00:00 2001 From: Alex Price <2804025+awprice@users.noreply.github.com> Date: Wed, 19 Jun 2024 09:14:01 +1000 Subject: [PATCH] fix building of amd64 images (#81) Signed-off-by: Alex Price --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ecca072..cabf369 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM --platform=$BUILDPLATFORM golang:1.22 as builder ARG TARGETPLATFORM -ARG ENVVAR +ARG ENVVAR=CGO_ENABLED=0 WORKDIR /go/src/github.com/atlassian-labs/cyclops COPY go.mod go.sum Makefile ./ COPY cmd cmd