separate operator binary code to reduce binary size (#1314)
remove logsearchapi dependency, no definitive struct marshalling is needed since UI is schemaless for search response.
This commit is contained in:
2
Makefile
2
Makefile
@@ -11,7 +11,7 @@ default: console
|
||||
.PHONY: console
|
||||
console:
|
||||
@echo "Building Console binary to './console'"
|
||||
@(GO111MODULE=on CGO_ENABLED=0 go build -trimpath --tags=kqueue --ldflags "-s -w" -o console ./cmd/console)
|
||||
@(GO111MODULE=on CGO_ENABLED=0 go build -trimpath --tags=kqueue,operator --ldflags "-s -w" -o console ./cmd/console)
|
||||
|
||||
k8sdev:
|
||||
@docker build -t $(TAG) --build-arg build_version=$(BUILD_VERSION) --build-arg build_time='$(BUILD_TIME)' .
|
||||
|
||||
Reference in New Issue
Block a user