github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/hack/dockerfile/install/gotestsum.installer (about)

     1  #!/bin/sh
     2  
     3  : ${GOTESTSUM_COMMIT:=v0.3.5}
     4  
     5  install_gotestsum() (
     6  	set -e
     7  	export GO111MODULE=on
     8  	go get -d "gotest.tools/gotestsum@${GOTESTSUM_COMMIT}"
     9  	go build -buildmode=pie -o "${PREFIX}/gotestsum" 'gotest.tools/gotestsum'
    10  
    11  )