Skip to content

Commit

Permalink
Merge pull request #21 from ccremer/fixes
Browse files Browse the repository at this point in the history
Build binary without CGO
  • Loading branch information
ccremer authored Apr 3, 2021
2 parents 3008965 + f1fad52 commit 94f77af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ help: ## Show this help
@grep -E -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = "(: ).*?## "}; {gsub(/\\:/,":",$$1)}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'

.PHONY: build
build: export CGO_ENABLED = 0
build: ## Builds the binary
go build -o $(binary) main.go

Expand Down
2 changes: 1 addition & 1 deletion example/pvc-delete.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: example-retain
name: example-delete
namespace: zfs-system
spec:
storageClassName: zfs-delete
Expand Down

0 comments on commit 94f77af

Please sign in to comment.