1
0
mirror of https://github.com/taigrr/gopher-os synced 2025-01-18 04:43:13 -08:00

Install Go 1.8.3

This commit is contained in:
Achilleas Anagnostopoulos 2017-06-28 07:29:04 +01:00
parent 2ea1f43d0e
commit cbf36d46ee

2
Vagrantfile vendored
View File

@ -18,7 +18,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get install -y nasm gccgo xorriso
[ ! -d "/usr/local/go" ] && wget -qO- https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz | tar xz -C /usr/local
[ ! -d "/usr/local/go" ] && wget -qO- https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz | tar xz -C /usr/local
echo "export GOROOT=/usr/local/go" > /etc/profile.d/go.sh
echo "export GOBIN=/usr/local/go/bin" >> /etc/profile.d/go.sh
echo "export GOPATH=/home/vagrant/workspace" >> /etc/profile.d/go.sh