Skip to content

Commit 3eda968

Browse files
committed
Dockerfile: Add retry options to curl
1 parent 41e65f2 commit 3eda968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

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

99
RUN apk add --no-cache --quiet make curl git jq && \
1010
go get -u golang.org/x/lint/golint && \
11-
curl -sSL https://github.com/gotestyourself/gotestsum/releases/download/v0.3.2/gotestsum_0.3.2_linux_amd64.tar.gz | tar -xz -C /usr/local/bin gotestsum
11+
curl -sSL --retry 3 --retry-connrefused https://github.com/gotestyourself/gotestsum/releases/download/v0.3.2/gotestsum_0.3.2_linux_amd64.tar.gz | tar -xz -C /usr/local/bin gotestsum
1212

1313
VOLUME ["/tmp"]
1414

0 commit comments

Comments
 (0)