From feb6f439e314d38664817fd7243385da4a1f7dfc Mon Sep 17 00:00:00 2001 From: Tibor Vass Date: Tue, 6 Apr 2021 17:28:12 +0000 Subject: [PATCH] Makefile: have binary, cross, dynbinary targets not use docker for backwards compat Signed-off-by: Tibor Vass --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9e62210c33..47f43eff80 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ lint: ## run all the lint tools .PHONY: binary binary: - docker buildx bake binary + ./scripts/build/binary .PHONY: plugins plugins: ## build example CLI plugins @@ -39,7 +39,7 @@ plugins: ## build example CLI plugins .PHONY: cross cross: - docker buildx bake cross + ./scripts/build/binary .PHONY: plugins-windows plugins-windows: ## build example CLI plugins for Windows @@ -51,7 +51,7 @@ plugins-osx: ## build example CLI plugins for macOS .PHONY: dynbinary dynbinary: ## build dynamically linked binary - USE_GLIBC=1 docker buildx bake dynbinary + GO_LINKMODE=dynamic ./scripts/build/binary vendor: vendor.conf ## check that vendor matches vendor.conf rm -rf vendor