Skip to content

Commit 0a0354f

Browse files
author
Tibor Vass
committed
Makefile: have binary, cross, dynbinary targets not use docker for backwards compat
Signed-off-by: Tibor Vass <tibor@docker.com>
1 parent 950a2f4 commit 0a0354f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ lint: ## run all the lint tools
3131

3232
.PHONY: binary
3333
binary:
34-
docker buildx bake binary
34+
./scripts/build/binary
3535

3636
.PHONY: plugins
3737
plugins: ## build example CLI plugins
3838
./scripts/build/plugins
3939

4040
.PHONY: cross
4141
cross:
42-
docker buildx bake cross
42+
./scripts/build/binary
4343

4444
.PHONY: plugins-windows
4545
plugins-windows: ## build example CLI plugins for Windows
@@ -51,7 +51,7 @@ plugins-osx: ## build example CLI plugins for macOS
5151

5252
.PHONY: dynbinary
5353
dynbinary: ## build dynamically linked binary
54-
USE_GLIBC=1 docker buildx bake dynbinary
54+
GO_LINKMODE=dynamic ./scripts/build/binary
5555

5656
vendor: vendor.conf ## check that vendor matches vendor.conf
5757
rm -rf vendor

0 commit comments

Comments
 (0)