Fix Go 1.8 in Vagrantfile
This commit is contained in:
parent
690dfa8f5a
commit
2b22b86e61
|
@ -6,7 +6,7 @@ VAGRANTFILE_API_VERSION = "2"
|
|||
|
||||
DEFAULT_CPU_COUNT = 2
|
||||
$script = <<SCRIPT
|
||||
GO_VERSION="1.8.0"
|
||||
GO_VERSION="1.8"
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
@ -36,6 +36,7 @@ else
|
|||
cd /tmp
|
||||
wget -q https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${ARCH}.tar.gz
|
||||
tar -xf go${GO_VERSION}.linux-${ARCH}.tar.gz
|
||||
sudo rm -rf $SRCROOT/go
|
||||
sudo mv go $SRCROOT
|
||||
sudo chmod 775 $SRCROOT
|
||||
sudo chown vagrant:vagrant $SRCROOT
|
||||
|
|
Loading…
Reference in New Issue