From 85f205248a999b212694e95c92ffb27c43c0814b Mon Sep 17 00:00:00 2001 From: Cezar Sa Espinola Date: Mon, 21 Aug 2017 16:19:04 -0300 Subject: [PATCH] Revert "goreleaser: disable cgo for build" CGO is required for os/user.Current(), which we need to allow changing a user id. This reverts commit 967aa7ad076da702c40b100481da3c32a5b91510. --- goreleaser.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/goreleaser.yml b/goreleaser.yml index 9b7054e..25567c8 100644 --- a/goreleaser.yml +++ b/goreleaser.yml @@ -3,8 +3,6 @@ build: main: . binary: tsuru_unit_agent - env: - - CGO_ENABLED=0 goos: - linux goarch: