Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed Jul 16, 2024
1 parent 2c5807a commit 5f7728b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ test: manifests fmt vet envtest ## Run tests.

.PHONY: build
build: ## Build manager binary.
CGO_ENABLED=0 go build -o bin/manager main.go
go build \
-tags osusergo,netgo \
-ldflags="-s -w -extldflags=-static" \
-o bin/manager main.go

.PHONY: run
run: manifests fmt vet ## Run a controller from your host.
Expand Down

0 comments on commit 5f7728b

Please sign in to comment.