mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
add CGO_ENABLED=0 while go build
This commit is contained in:
parent
4cf3961536
commit
6dedcf3b87
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -23,7 +23,7 @@ GOOS ?= $(shell go env GOOS)
|
||||||
OUTPUT=$(shell pwd)/_output/cli/$(BIN)
|
OUTPUT=$(shell pwd)/_output/cli/$(BIN)
|
||||||
|
|
||||||
build:
|
build:
|
||||||
GOOS=linux go build -ldflags=$(LD_FLAGS) $(MAIN)
|
CGO_ENABLED=0 GOOS=linux go build -ldflags=$(LD_FLAGS) $(MAIN)
|
||||||
|
|
||||||
local:
|
local:
|
||||||
go build -ldflags=$(LD_FLAGS) $(MAIN)
|
go build -ldflags=$(LD_FLAGS) $(MAIN)
|
||||||
|
|
Loading…
Add table
Reference in a new issue