Codebase list zonedb / b01f6e92-35e2-4dc9-9aee-85489c3faeb5/main install-go.sh
b01f6e92-35e2-4dc9-9aee-85489c3faeb5/main

Tree @b01f6e92-35e2-4dc9-9aee-85489c3faeb5/main (Download .tar.gz)

install-go.sh @b01f6e92-35e2-4dc9-9aee-85489c3faeb5/mainraw · history · blame

#!/usr/bin/env bash

set -e
set -u

curl -o /app/go.tgz https://storage.googleapis.com/golang/go1.9.4.linux-amd64.tar.gz
tar xvf /app/go.tgz -C /app
mkdir -p /app/go2
export GOROOT=/app/go GOPATH=/app/go2 PATH=/app/go/bin:$PATH
go get -t -d -v ./...