From 78710cd52af291693d57e4c8151ac49d8693f654 Mon Sep 17 00:00:00 2001 From: Rajashekhar Gundeti Date: Wed, 19 Jun 2024 22:00:21 +0530 Subject: [PATCH] Support ARM arch --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d2dddfb4..ff1ae850 100644 --- a/Makefile +++ b/Makefile @@ -46,8 +46,7 @@ build: cmd/server/main.go go build -ldflags $(LDFLAGS) -mod vendor -o dist/provider ./cmd/server/main.go docker-build: - docker build -t ${IMAGE_PATH} -f build/Dockerfile . - # docker buildx build --platform=linux/amd64 -t ${IMAGE_PATH} -f build/Dockerfile . + docker buildx build --platform=linux/amd64,linux/arm64 -t ${IMAGE_PATH} -f build/Dockerfile . docker-push: docker push ${IMAGE_PATH} @@ -60,4 +59,4 @@ print-docker-image-path: test-coverage: go test -coverprofile=cover.out ./… - go tool cover -html=cover.out \ No newline at end of file + go tool cover -html=cover.out