From 8f9d4971a49ec761df7891152d9fdbbfc7b59093 Mon Sep 17 00:00:00 2001 From: Raffaele Di Fazio Date: Fri, 23 Oct 2020 10:50:56 +0000 Subject: [PATCH] adds GOARM for arm32v7 images Signed-off-by: GitHub --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9d635b6aa..0f2b274e8 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,7 @@ build.amd64: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/$(BINARY) $(BUILD_FLAGS) -ldflags "$(LDFLAGS)" . build.arm32v7: - CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -o build/$(BINARY) $(BUILD_FLAGS) -ldflags "$(LDFLAGS)" . + CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o build/$(BINARY) $(BUILD_FLAGS) -ldflags "$(LDFLAGS)" . build.docker: docker build --rm --tag "$(IMAGE):$(VERSION)" --build-arg VERSION="$(VERSION)" --build-arg ARCH="amd64" .