forked from mystiq/dex
Merge pull request #165 from bobbyrullo/one_Dot_four
Dockerfile: use go 1.4 to build
This commit is contained in:
commit
623c6cfe0c
2 changed files with 6 additions and 1 deletions
5
Dockerfile-builder
Normal file
5
Dockerfile-builder
Normal 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
|
|
@ -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/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 $@
|
||||
|
|
Loading…
Reference in a new issue