1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

Merge pull request #149 from nirmata/hotfix_image

add CGO_ENABLED=0 while go build
This commit is contained in:
Shivkumar Dudhani 2019-06-05 23:36:56 -07:00 committed by GitHub
commit 3203f471dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ GOOS ?= $(shell go env GOOS)
OUTPUT=$(shell pwd)/_output/cli/$(BIN)
build:
GOOS=linux go build -ldflags=$(LD_FLAGS) $(MAIN)
CGO_ENABLED=0 GOOS=linux go build -ldflags=$(LD_FLAGS) $(MAIN)
local:
go build -ldflags=$(LD_FLAGS) $(MAIN)