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

Commit 072609b

Browse files
authored
Update golang to 1.11.4, add gotestsum, bump golangci_lint version (#19)
1 parent 3909730 commit 072609b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
FROM golang:1.11.2-alpine
2-
ENV GOLANGCI_LINT_VERSION v1.12.3
1+
FROM golang:1.11.4-alpine
2+
ENV GOLANGCI_LINT_VERSION v1.12.5
3+
ENV GOTESTSUM_VERSION 0.3.2
34

45
RUN apk update && apk add git bash build-base curl
56

67
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin $GOLANGCI_LINT_VERSION
78

9+
RUN curl -sSL "https://github.com/gotestyourself/gotestsum/releases/download/v$GOTESTSUM_VERSION/gotestsum_${GOTESTSUM_VERSION}_linux_amd64.tar.gz" | tar -xz -C /usr/local/bin gotestsum && chmod +x /usr/local/bin/gotestsum
10+
811
# discussion of various tools at
912
# http://blog.ralch.com/tutorial/golang-tools-inspection/
1013
# https://dominik.honnef.co/posts/2014/12/go-tools/#goreturns

0 commit comments

Comments
 (0)