Skip to content

Commit

Permalink
Update Vagrant file to use Go 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
catsby committed Nov 23, 2015
1 parent c524682 commit 7e0cbb4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
VAGRANTFILE_API_VERSION = "2"

$script = <<SCRIPT
GOVERSION="1.5.1"
SRCROOT="/opt/go"
SRCPATH="/opt/gopath"
Expand All @@ -18,8 +19,8 @@ sudo apt-get install -y build-essential curl git-core libpcre3-dev mercurial pkg
# Install Go
cd /tmp
wget -q https://storage.googleapis.com/golang/go1.4.2.linux-${ARCH}.tar.gz
tar -xf go1.4.2.linux-${ARCH}.tar.gz
wget --quiet https://storage.googleapis.com/golang/go${GOVERSION}.linux-${ARCH}.tar.gz
tar -xvf go${GOVERSION}.linux-${ARCH}.tar.gz
sudo mv go $SRCROOT
sudo chmod 775 $SRCROOT
sudo chown vagrant:vagrant $SRCROOT
Expand Down

0 comments on commit 7e0cbb4

Please sign in to comment.