From 422448006e433f4c8e9cbe4d260bb9e88babf04a Mon Sep 17 00:00:00 2001 From: Enrico Stahn Date: Mon, 19 Feb 2018 19:48:35 +1100 Subject: [PATCH] Use CGO_ENABLED=0 for the build to get a working docker image --- .goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 35a8200..fd7bbb0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,7 @@ builds: - binary: php-fpm_exporter + env: + - CGO_ENABLED=0 goos: - windows - darwin