From 34427f02bef802ae35bcb8c55f03bdee58691066 Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Wed, 26 Sep 2018 14:41:06 -0700 Subject: [PATCH] use go1.10 to build the canary image --- deploy/canary/Dockerfile | 2 +- docs/development/build.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/canary/Dockerfile b/deploy/canary/Dockerfile index b2e256a9..2259616c 100644 --- a/deploy/canary/Dockerfile +++ b/deploy/canary/Dockerfile @@ -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 diff --git a/docs/development/build.md b/docs/development/build.md index f7a8db14..1a7a9eea 100644 --- a/docs/development/build.md +++ b/docs/development/build.md @@ -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):