From c06ccb3b0d6a99628e6153ae3e8ea2cbc05deb0f Mon Sep 17 00:00:00 2001 From: Martynas Pumputis Date: Fri, 26 Aug 2016 13:22:21 +0100 Subject: [PATCH] Change owner of /usr/local/go on build VM Otherwise "go get -tags netgo" fails with the permission denied error. --- circle.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/circle.yml b/circle.yml index 0bbdf8ea..1879b488 100644 --- a/circle.yml +++ b/circle.yml @@ -24,6 +24,7 @@ dependencies: - cd $SRCDIR/test; ./gce.sh make_template: parallel: false - "cd $SRCDIR/build; ../tools/rebuild-image weaveworks/weavebuild . Dockerfile build.sh && touch $SRCDIR/.build.uptodate" + - "sudo chown -R ubuntu /usr/local/go" test: override: