Skip to content

Commit

Permalink
Makefile: have binary, cross, dynbinary targets not use docker for ba…
Browse files Browse the repository at this point in the history
…ckwards compat

Signed-off-by: Tibor Vass <tibor@docker.com>
  • Loading branch information
Tibor Vass committed Apr 6, 2021
1 parent 950a2f4 commit 0a0354f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ lint: ## run all the lint tools

.PHONY: binary
binary:
docker buildx bake binary
./scripts/build/binary

.PHONY: plugins
plugins: ## build example CLI plugins
./scripts/build/plugins

.PHONY: cross
cross:
docker buildx bake cross
./scripts/build/binary

.PHONY: plugins-windows
plugins-windows: ## build example CLI plugins for Windows
Expand All @@ -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
Expand Down

0 comments on commit 0a0354f

Please sign in to comment.