mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 12:30:46 +01:00
Add osusergo flag in promu-cgo
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
809eed400a
commit
dddae68cc7
@ -8,7 +8,7 @@ repository:
|
||||
build:
|
||||
binaries:
|
||||
- name: node_exporter
|
||||
flags: -a -tags 'netgo static_build'
|
||||
flags: -a -tags 'netgo osusergo static_build'
|
||||
ldflags: |
|
||||
-X github.com/prometheus/common/version.Version={{.Version}}
|
||||
-X github.com/prometheus/common/version.Revision={{.Revision}}
|
||||
|
Loading…
Reference in New Issue
Block a user