mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 05:45:46 +00:00
fdb6b80672
- You can no longer cross submodule boundaries with ./... in go subcommands like `go list` or `go test`. The makefile and CI scripts were updated accordingly. - Also of note: `go mod vendor` now omits things build ignored.
14 lines
371 B
Docker
14 lines
371 B
Docker
ARG GOLANG_VERSION=1.13.7
|
|
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"
|
|
|
|
RUN GO111MODULE=on go get -u -v ${GOTOOLS} && mkdir -p /consul
|
|
|
|
WORKDIR /consul
|