aboutsummaryrefslogtreecommitdiffstats
path: root/containers/vagrant/provisioners/shell/ubuntu.sh
blob: 1c1793336d441b016b82cfccd2ec381a968f0bb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

sudo apt-get install -y build-essential git-all wget
sudo apt-get update

wget --continue https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.8.1.linux-amd64.tar.gz

GETH_PATH="~vagrant/go/src/github.com/ethereum/go-ethereum/build/bin/"

echo "export PATH=$PATH:/usr/local/go/bin:$GETH_PATH" >> ~vagrant/.bashrc