From 3176a9102c90b2538d54cdc44070ac796c0c5233 Mon Sep 17 00:00:00 2001 From: Steve Durrheimer Date: Sat, 30 Apr 2016 19:14:29 +0200 Subject: Make node_exporter statically buildable for linux/amd64 --- .promu.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.promu.yml') diff --git a/.promu.yml b/.promu.yml index aa65811..4f03be9 100644 --- a/.promu.yml +++ b/.promu.yml @@ -1,7 +1,8 @@ -go: 1.5.4 +go: 1.6.2 repository: path: github.com/prometheus/node_exporter build: + flags: -a -tags 'netgo static_build' ldflags: | -X main.Version={{.Version}} -X {{repoPath}}/collector.Version={{.Version}} @@ -24,4 +25,5 @@ crossbuild: - linux/arm - linux/arm64 - netbsd/arm + - linux/ppc64 - linux/ppc64le -- cgit v1.2.3