File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -45,17 +45,21 @@ ENV DEVCONTAINER=true
4545ENV GO111MODULE=on
4646
4747# Install Go tools
48+ ARG GO_PLS_VERSION=0.7.2
49+ ARG DLV_VERSION=1.7.2
50+ ARG GO_RELEASER_VERSION=0.180.3
51+ ARG GOLANGCI_LINT_VERSION=1.42.1
4852RUN \
4953 # --> Delve for debugging
50- go get github.com/go-delve/delve/cmd/dlv@v1.6.0 \
54+ go get github.com/go-delve/delve/cmd/dlv@v${DLV_VERSION} \
5155 # --> Go language server
52- && go get golang.org/x/tools/gopls@v0.6.10 \
56+ && go get golang.org/x/tools/gopls@v${GO_PLS_VERSION} \
5357 # --> Go symbols and outline for go to symbol support and test support
5458 && go get github.com/acroca/
[email protected] && go get github.com/ramya-rao-a/go-outline@7182a932836a71948db4a81991a494751eccfe77 \
5559 # --> GolangCI-lint
56- && curl -sfL https://install.goreleaser .com/github.com/ golangci/golangci-lint.sh | sed 's/tar -/tar --no-same-owner -/g' | sh -s -- -b $(go env GOPATH)/bin \
60+ && curl -sSfL https://raw.githubusercontent .com/golangci/golangci-lint/master/install .sh | sh -s -- -b $(go env GOPATH)/bin v${GOLANGCI_LINT_VERSION} \
5761 # --> Go releaser
58- && curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh -s -- "v0.164.0" \
62+ && curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh -s -- v${GO_RELEASER_VERSION} \
5963 # --> Install junit converter
6064 && go get github.com/jstemmer/
[email protected] \
6165 && sudo rm -rf /go/src/ \
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ require (
66 github.com/blang/semver v3.5.1+incompatible
77 github.com/bradford-hamilton/dora v0.1.1
88 github.com/kyoh86/richgo v0.3.9 // indirect
9- github.com/mattn/go-isatty v0.0.13 // indirect
9+ github.com/mattn/go-isatty v0.0.14 // indirect
1010 github.com/rhysd/go-github-selfupdate v1.2.2
1111 github.com/spf13/cobra v1.0.0
1212 github.com/spf13/viper v1.4.0
1313 github.com/stretchr/testify v1.7.0
14- golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect
14+ golang.org/x/sys v0.0.0-20211013075003-97ac67df715c // indirect
1515 gopkg.in/yaml.v2 v2.4.0 // indirect
1616)
1717
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHX
7777github.com/mattn/go-isatty v0.0.12 /go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU =
7878github.com/mattn/go-isatty v0.0.13 h1:qdl+GuBjcsKKDco5BsxPJlId98mSWNKqYA+Co0SC1yA =
7979github.com/mattn/go-isatty v0.0.13 /go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU =
80+ github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y =
81+ github.com/mattn/go-isatty v0.0.14 /go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94 =
8082github.com/matttproud/golang_protobuf_extensions v1.0.1 /go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0 =
8183github.com/mitchellh/go-homedir v1.1.0 /go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0 =
8284github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE =
@@ -179,6 +181,8 @@ golang.org/x/sys v0.0.0-20210601080250-7ecdf8ef093b h1:qh4f65QIVFjq9eBURLEYWqaEX
179181golang.org/x/sys v0.0.0-20210601080250-7ecdf8ef093b /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
180182golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c h1:F1jZWGFhYfh0Ci55sIpILtKKK8p3i2/krTr0H1rg74I =
181183golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
184+ golang.org/x/sys v0.0.0-20211013075003-97ac67df715c h1:taxlMj0D/1sOAuv/CbSD+MMDof2vbyPTqz5FNYKpXt8 =
185+ golang.org/x/sys v0.0.0-20211013075003-97ac67df715c /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
182186golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg =
183187golang.org/x/text v0.3.0 /go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ =
184188golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 /go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ =
You can’t perform that action at this time.
0 commit comments