Skip to content

Commit b86fc55

Browse files
authored
CI: Use Go install to bootstrap test tools in Dockerfile (#455)
1 parent 326dfc1 commit b86fc55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ARG VERSION=1-alpine
77
FROM golang:${VERSION}
88

99
RUN apk add --no-cache --quiet make curl git jq unzip tree && \
10-
go get -u golang.org/x/lint/golint && \
11-
curl -sSL --retry 3 --retry-connrefused https://github.com/gotestyourself/gotestsum/releases/download/v1.6.1/gotestsum_1.6.1_linux_amd64.tar.gz | tar -xz -C /usr/local/bin gotestsum
10+
go install golang.org/x/lint/golint@latest && \
11+
go install gotest.tools/gotestsum@latest
1212

1313
VOLUME ["/tmp"]
1414

0 commit comments

Comments
 (0)