Skip to content

Commit 7923371

Browse files
committed
Disable cgo
With cgo enabled the binary may link to libc in the build environment.
1 parent c40aea9 commit 7923371

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.goreleaser.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ project_name: prometheus-lvm-exporter
66
builds:
77
- main: .
88
binary: prometheus-lvm-exporter
9+
env:
10+
- CGO_ENABLED=0
911
goos:
1012
- linux
1113
flags:

0 commit comments

Comments
 (0)