Merge pull request #2056 from dashpole/fix_build

Use go1.10 for canary builds
This commit is contained in:
David Ashpole 2018-09-26 14:50:10 -07:00 committed by GitHub
commit 9ab298228a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM golang:latest
FROM golang:1.10
MAINTAINER vmarmol@google.com
RUN apt-get update && apt-get install -y git dmsetup && apt-get clean

View File

@ -6,7 +6,7 @@
cAdvisor is written in the [Go](http://golang.org) programming language. If you haven't set up a Go development environment, please follow [these instructions](http://golang.org/doc/code.html) to install go tool and set up GOPATH. Note that the version of Go in package repositories of some operating systems is outdated, so please [download](https://golang.org/dl/) the latest version.
**Note**: cAdvisor requires Go 1.7 to build.
**Note**: cAdvisor requires Go 1.10 to build.
After setting up Go, you should be able to `go get` cAdvisor as expected (we use `-d` to only download):