From ecda941aac38197a2a56b1e2860966bb22c1ed7a Mon Sep 17 00:00:00 2001 From: Andrea Cappelletti Date: Wed, 8 Mar 2023 11:48:06 -0600 Subject: [PATCH] Add platform specification when building binaries (#2302) * Add platform specification * Add new rule with platform specification * Reformat code * Refactor indentation and typo --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 12e674136..e64276d7d 100644 --- a/Makefile +++ b/Makefile @@ -233,6 +233,13 @@ docker-image-featurebase: vendor --file Dockerfile-dax \ --tag dax/featurebase . +docker-image-featurebase-linux-amd64: vendor + docker build \ + --build-arg GO_VERSION=$(GO_VERSION) \ + --platform linux/amd64 \ + --file Dockerfile-dax \ + --tag dax/featurebase . + docker-image-featurebase-test: vendor docker build \ --build-arg GO_VERSION=$(GO_VERSION) \