prometheus: fix cross builds
This commit is contained in:
parent
ab3fc0ecf7
commit
46bdf1db61
@ -24,7 +24,7 @@ system_accounts="_prometheus"
|
|||||||
make_dirs="/var/lib/prometheus 700 _prometheus _prometheus"
|
make_dirs="/var/lib/prometheus 700 _prometheus _prometheus"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
make assets
|
CGO_ENABLED=0 GOARCH= make assets
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user