mirror of https://github.com/docker/cli.git
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:
parent
8bc4062fc0
commit
feb6f439e3
6
Makefile
6
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue