File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,13 +22,11 @@ IMAGE = $(REGISTRY)glusterfs-simple-provisioner:$(VERSION)
2222MUTABLE_IMAGE = $(REGISTRY ) glusterfs-simple-provisioner:latest
2323
2424all build :
25- GOOS=linux go install -v ./cmd/glusterfs-simple-provisioner
26- GOOS=linux CGO_ENABLED=0 go build ./cmd/glusterfs-simple-provisioner
25+ CGO_ENABLED=0 GOOS=linux go build -a -ldflags ' -extldflags "-static"' -o glusterfs-simple-provisioner ./cmd/glusterfs-simple-provisioner
2726.PHONY : all build
2827
2928build-mac :
30- GOOS=darwin go install -v ./cmd/glusterfs-simple-provisioner
31- GOOS=darwin go build ./cmd/glusterfs-simple-provisioner
29+ CGO_ENABLED=0 GOOS=darwin go build -a -ldflags ' -extldflags "-static"' -o glusterfs-simple-provisioner ./cmd/glusterfs-simple-provisioner
3230.PHONY : build-mac
3331
3432container : build quick-container
You can’t perform that action at this time.
0 commit comments