need to use bash for pipefail. go get dependencies before build