Skip to content

Commit

Permalink
Support ARM arch
Browse files Browse the repository at this point in the history
  • Loading branch information
rajashekhargundeti authored Jun 19, 2024
1 parent d76351a commit 78710cd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -60,4 +59,4 @@ print-docker-image-path:

test-coverage:
go test -coverprofile=cover.out ./…
go tool cover -html=cover.out
go tool cover -html=cover.out

0 comments on commit 78710cd

Please sign in to comment.