Merge pull request #165 from bobbyrullo/one_Dot_four

Dockerfile: use go 1.4 to build
This commit is contained in:
bobbyrullo 2015-10-22 14:05:39 -07:00
commit 623c6cfe0c
2 changed files with 6 additions and 1 deletions

5
Dockerfile-builder Normal file
View file

@ -0,0 +1,5 @@
FROM golang:1.4
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 done
echo "running with docker, might take a while to pull the image..." 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/go-builder:1.3.3 $@ docker run $LINKS_STR $ENV_STR --rm -v `pwd`:/go/src/$REPO -w /go/src/$REPO quay.io/coreos/dex-builder:1.4 $@