diff --git a/Makefile b/Makefile index 4cd3634c..98c48925 100644 --- a/Makefile +++ b/Makefile @@ -92,7 +92,7 @@ container: .PHONY: container-local container-local: kubevpn-linux-amd64 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/envoy-xds-server ./cmd/mesh - docker build -t ${IMAGE} -f $(BUILD_DIR)/local.Dockerfile . + docker build --platform linux/amd64 -t ${IMAGE} -f $(BUILD_DIR)/local.Dockerfile . docker push ${IMAGE} docker tag ${IMAGE} ${IMAGE_DEFAULT} docker push ${IMAGE_DEFAULT}