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

Commit 2cd36b1

Browse files
Merge component 'engine' from git@github.com:docker/engine 19.03
2 parents 9d98839 + 5ef024e commit 2cd36b1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

components/engine/hack/dockerfile/install/gotestsum.installer

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
: ${GOTESTSUM_COMMIT:=v0.3.5}
44

5-
install_gotestsum() {
6-
echo "Installing gotestsum version $GOTESTSUM_COMMIT"
7-
go get -d gotest.tools/gotestsum
8-
cd "$GOPATH/src/gotest.tools/gotestsum"
9-
git checkout -q "$GOTESTSUM_COMMIT"
5+
install_gotestsum() (
6+
set -e
7+
export GO111MODULE=on
8+
go get -d "gotest.tools/gotestsum@${GOTESTSUM_COMMIT}"
109
go build -buildmode=pie -o "${PREFIX}/gotestsum" 'gotest.tools/gotestsum'
11-
}
10+
11+
)

0 commit comments

Comments
 (0)