From 8ae9607d9b7a639acc7abe96363a58ac33a7b5c6 Mon Sep 17 00:00:00 2001 From: Ed Robinson Date: Tue, 15 Nov 2016 17:53:55 +0000 Subject: [PATCH] Update dev documentation to require go 1.7 --- .github/CONTRIBUTING.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index fa4c80a08..11fa07646 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -12,7 +12,7 @@ You need to run the `binary` target. This will create binaries for Linux platfor $ make binary docker build -t "traefik-dev:no-more-godep-ever" -f build.Dockerfile . Sending build context to Docker daemon 295.3 MB -Step 0 : FROM golang:1.5 +Step 0 : FROM golang:1.7 ---> 8c6473912976 Step 1 : RUN go get github.com/Masterminds/glide [...] @@ -30,8 +30,7 @@ traefik* ###### Setting up your `go` environment -- You need `go` v1.5+ (1.7 is acceptable) -- You need to set `$ export GO15VENDOREXPERIMENT=1` environment variable if you are using go v1.5 (it is already enabled in 1.6+) +- You need `go` v1.7+ - It is recommended you clone Træfɪk into a directory like `~/go/src/github.com/containous/traefik` (This is the official golang workspace hierarchy, and will allow dependencies to resolve properly) - This will allow your `GOPATH` and `PATH` variable to be set to `~/go` via: ```