Merge pull request #2081 from dashpole/go_1.11

Update formatting for go 1.11
This commit is contained in:
David Ashpole 2018-10-29 11:25:09 -07:00 committed by GitHub
commit 32b5c68765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.10
FROM golang:1.11
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.10 to build.
**Note**: cAdvisor requires Go 1.11 to build.
After setting up Go, you should be able to `go get` cAdvisor as expected (we use `-d` to only download):