Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Commit e09f911

Browse files
authored
Update tools included in container (#20)
* Remove 'unused' tool, which is now in staticcheck * Remove obsolete govendor and glide * Remove some obsolete tools, stop using gometalinter install
1 parent 072609b commit e09f911

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ RUN curl -sSL "https://github.com/gotestyourself/gotestsum/releases/download/v$G
1313
# https://dominik.honnef.co/posts/2014/12/go-tools/#goreturns
1414

1515
ENV GOTOOLSTOBUILD \
16-
github.com/3rf/codecoroner \
1716
github.com/FiloSottile/vendorcheck \
1817
github.com/GoASTScanner/gas \
1918
github.com/alecthomas/gocyclo \
@@ -22,9 +21,7 @@ ENV GOTOOLSTOBUILD \
2221
github.com/golang/lint/golint \
2322
github.com/gordonklaus/ineffassign \
2423
github.com/jgautheron/goconst \
25-
github.com/kardianos/govendor \
2624
github.com/golang/dep/cmd/dep \
27-
github.com/Masterminds/glide \
2825
github.com/kisielk/errcheck \
2926
github.com/mdempsky/unconvert \
3027
github.com/mibk/dupl \
@@ -38,9 +35,8 @@ ENV GOTOOLSTOBUILD \
3835
github.com/tsenart/deadcode \
3936
github.com/walle/lll \
4037
golang.org/x/tools/cmd/goimports \
41-
honnef.co/go/tools/cmd/gosimple \
4238
honnef.co/go/tools/cmd/staticcheck \
43-
honnef.co/go/tools/cmd/unused
39+
github.com/client9/misspell/cmd/misspell
4440

4541
RUN echo "GOTOOLSTOBUILD=$GOTOOLSTOBUILD"
4642

@@ -49,8 +45,6 @@ RUN for item in $GOTOOLSTOBUILD; do \
4945
go get -u $item; \
5046
done
5147

52-
RUN gometalinter --install
53-
5448
# /go/bin will be mounted on top, so get everything into /usr/local/bin
5549
RUN cp -r /go/bin/* /usr/local/bin
5650

0 commit comments

Comments
 (0)