Makefile: have binary, cross, dynbinary targets not use docker for backwards compat

Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Tibor Vass 2021-04-06 17:28:12 +00:00
parent 8bc4062fc0
commit feb6f439e3
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ lint: ## run all the lint tools
.PHONY: binary .PHONY: binary
binary: binary:
docker buildx bake binary ./scripts/build/binary
.PHONY: plugins .PHONY: plugins
plugins: ## build example CLI plugins plugins: ## build example CLI plugins
@ -39,7 +39,7 @@ plugins: ## build example CLI plugins
.PHONY: cross .PHONY: cross
cross: cross:
docker buildx bake cross ./scripts/build/binary
.PHONY: plugins-windows .PHONY: plugins-windows
plugins-windows: ## build example CLI plugins for Windows plugins-windows: ## build example CLI plugins for Windows
@ -51,7 +51,7 @@ plugins-osx: ## build example CLI plugins for macOS
.PHONY: dynbinary .PHONY: dynbinary
dynbinary: ## build dynamically linked binary 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 vendor: vendor.conf ## check that vendor matches vendor.conf
rm -rf vendor rm -rf vendor