diff options
Diffstat (limited to 'testing/prometheus-unbound-exporter/APKBUILD')
-rw-r--r-- | testing/prometheus-unbound-exporter/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/prometheus-unbound-exporter/APKBUILD b/testing/prometheus-unbound-exporter/APKBUILD index a3dbd2dd498..a3ae9604f1f 100644 --- a/testing/prometheus-unbound-exporter/APKBUILD +++ b/testing/prometheus-unbound-exporter/APKBUILD @@ -17,12 +17,16 @@ source="$_pkgname-$pkgver.tar.gz::https://github.com/letsencrypt/unbound_exporte 0001-dont-authenticate-by-default.patch " builddir="$srcdir/$_pkgname-$pkgver" -export GOFLAGS="$GOFLAGS -modcacherw" options="!check" # no test suite available +export GOFLAGS="$GOFLAGS -modcacherw" +export GOCACHE="$srcdir/go-cache" +export GOTMPDIR="$srcdir" +export GOMODCACHE="$srcdir/go" + build() { go build \ - -ldflags "-s -w -X github.com/prometheus/common/version.Version=$pkgver" \ + -ldflags "-X github.com/prometheus/common/version.Version=$pkgver" \ -v -o unbound_exporter } |