Merge pull request #433 from chris-rock/chris-rock/go-1.6.2

use go 1.6.2 for docker go build
This commit is contained in:
Eric Chiang 2016-05-04 14:59:28 -07:00
commit ea4c04fde8
2 changed files with 1 additions and 6 deletions

View file

@ -1,5 +0,0 @@
FROM golang:1.6
RUN go get golang.org/x/tools/cmd/cover
RUN go get golang.org/x/tools/cmd/vet
RUN go get github.com/tools/godep

View file

@ -23,4 +23,4 @@ for VAR in ${DOCKER_LINKS//,/ }; do
done
echo "running with docker, might take a while to pull the image..."
docker run $LINKS_STR $ENV_STR --rm -v `pwd`:/go/src/$REPO -w /go/src/$REPO quay.io/coreos/dex-builder:1.4 $@
docker run $LINKS_STR $ENV_STR --rm -v `pwd`:/go/src/$REPO -w /go/src/$REPO -t golang:1.6.2 $@