Add platform specification when building binaries (#2302)

* Add platform specification

* Add new rule with platform specification

* Reformat code

* Refactor indentation and typo
This commit is contained in:
Andrea Cappelletti 2023-03-08 11:48:06 -06:00 committed by GitHub
parent 909c62d44e
commit ecda941aac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) \