2020-02-12 16:15:24 +00:00
|
|
|
ARG GOLANG_VERSION=1.13.7
|
2018-06-08 14:20:54 +00:00
|
|
|
FROM golang:${GOLANG_VERSION}
|
|
|
|
|
|
|
|
ARG GOTOOLS="github.com/elazarl/go-bindata-assetfs/... \
|
|
|
|
github.com/hashicorp/go-bindata/... \
|
|
|
|
golang.org/x/tools/cmd/cover \
|
|
|
|
golang.org/x/tools/cmd/stringer \
|
|
|
|
github.com/axw/gocov/gocov \
|
|
|
|
gopkg.in/matm/v1/gocov-html"
|
|
|
|
|
2020-03-16 19:26:07 +00:00
|
|
|
RUN GO111MODULE=on go get -v ${GOTOOLS} && mkdir -p /consul
|
2018-06-08 14:20:54 +00:00
|
|
|
|
2019-04-01 14:55:48 +00:00
|
|
|
WORKDIR /consul
|