github.imxd.top/hashicorp/consul@v1.4.5/build-support/docker/Build-Go.dockerfile (about) 1 ARG GOLANG_VERSION=1.11.4 2 FROM golang:${GOLANG_VERSION} 3 4 ARG GOTOOLS="github.com/elazarl/go-bindata-assetfs/... \ 5 github.com/hashicorp/go-bindata/... \ 6 github.com/magiconair/vendorfmt/cmd/vendorfmt \ 7 github.com/mitchellh/gox \ 8 golang.org/x/tools/cmd/cover \ 9 golang.org/x/tools/cmd/stringer \ 10 github.com/axw/gocov/gocov \ 11 gopkg.in/matm/v1/gocov-html" 12 13 RUN go get -u -v ${GOTOOLS} && mkdir -p ${GOPATH}/src/github.com/hashicorp/consul 14 15 WORKDIR $GOPATH/src/github.com/hashicorp/consul 16