bromite-buildtools/images/goma-server/install-goma-server.sh

25 lines
531 B
Bash
Raw Normal View History

2021-06-19 09:46:24 +00:00
#!/bin/bash
RED='\033[0;31m'
NC='\033[0m' # No Color
#export GOPATH=~/go
#export GOCACHE=~/go
export REDISHOST=localhost
echo -e ${RED} -------- install go 16.2 ${NC}
wget https://golang.org/dl/go1.16.2.linux-amd64.tar.gz
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
2021-06-30 12:44:14 +00:00
rm go1.16.2.linux-amd64.tar.gz
2021-06-19 09:46:24 +00:00
echo -e ${RED} -------- cloning goma-server ${NC}
git clone https://github.com/uazo/goma-server
2021-07-30 10:12:52 +02:00
cd goma-server
/usr/local/go/bin/go run ./cmd/remoteexec_proxy/main.go --preload=true
cd ..