Disable cgo for building kustomize without gcc
@@ -106,7 +106,7 @@ $(KIND): $(BIN_DIR) go.mod go.sum
KUSTOMIZE := $(BIN_DIR)/kustomize
$(KUSTOMIZE): $(BIN_DIR) go.mod go.sum # Build kustomize from tools folder.
- go build -tags=tools -o $@ sigs.k8s.io/kustomize/kustomize/v3
+ CGO_ENABLED=0 go build -tags=tools -o $@ sigs.k8s.io/kustomize/kustomize/v3
MDBOOK_SHARE := $(SHARE_DIR)/mdbook$(MDBOOK_ARCHIVE_EXT)
$(MDBOOK_SHARE): ../../versions.mk $(SHARE_DIR)
