Vagrantfile: update to golang 1.9.1

This commit is contained in:
Gabriel Rosenhouse 2017-10-11 21:19:16 +02:00
parent 9769434a13
commit 596b44301b

2
Vagrantfile vendored
View File

@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|
apt-get update -y || (sleep 40 && apt-get update -y) apt-get update -y || (sleep 40 && apt-get update -y)
apt-get install -y git apt-get install -y git
wget -qO- https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz | tar -C /usr/local -xz wget -qO- https://storage.googleapis.com/golang/go1.9.1.linux-amd64.tar.gz | tar -C /usr/local -xz
echo 'export GOPATH=/go' >> /root/.bashrc echo 'export GOPATH=/go' >> /root/.bashrc
echo 'export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin' >> /root/.bashrc echo 'export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin' >> /root/.bashrc