Skip to content

Commit

Permalink
Disable cgo
Browse files Browse the repository at this point in the history
With cgo enabled the binary may link to libc in the build environment.
  • Loading branch information
hansmi committed Aug 24, 2021
1 parent c40aea9 commit 7923371
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ project_name: prometheus-lvm-exporter
builds:
- main: .
binary: prometheus-lvm-exporter
env:
- CGO_ENABLED=0
goos:
- linux
flags:
Expand Down

0 comments on commit 7923371

Please sign in to comment.