删除重复controller-manager编译目标
This commit is contained in:
7
Makefile
7
Makefile
@@ -970,13 +970,6 @@ docker:
|
||||
# support also build args docker build --build-arg GITEA_VERSION=v1.2.3 --build-arg TAGS="bindata sqlite sqlite_unlock_notify" .
|
||||
|
||||
# This endif closes the if at the top of the file
|
||||
|
||||
# 添加一个新目标,用于构建 controller-manager
|
||||
.PHONY: controller-manager
|
||||
controller-manager: go-check
|
||||
@echo "Building controller-manager..."
|
||||
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o controller-manager modules/k8s/cmd/controller-manager/controller-manager.go
|
||||
|
||||
endif
|
||||
|
||||
# Disable parallel execution because it would break some targets that don't
|
||||
|
||||
Reference in New Issue
Block a user