From c7a48e91d8d31a8b80b46f4cb17d866e36147ddc Mon Sep 17 00:00:00 2001 From: Daniel Mizyrycki Date: Fri, 12 Jul 2013 15:06:02 -0700 Subject: [PATCH] Packaging, issue #1202: Upgrade vagrantfile go in debian packaging --- packaging/debian/Vagrantfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/debian/Vagrantfile b/packaging/debian/Vagrantfile index 5913882f9f..cb84ed5b8d 100644 --- a/packaging/debian/Vagrantfile +++ b/packaging/debian/Vagrantfile @@ -13,6 +13,9 @@ Vagrant::Config.run do |config| # Install debian packaging dependencies and create debian packages pkg_cmd = "apt-get -qq update; DEBIAN_FRONTEND=noninteractive apt-get install -qq -y #{PKG_DEP}; " \ + "curl -s -o /go.tar.gz https://go.googlecode.com/files/go1.1.1.linux-amd64.tar.gz; " \ + "tar -C /usr/local -xzf /go.tar.gz; rm /usr/bin/go; " \ + "ln -s /usr/local/go/bin/go /usr/bin; "\ "export GPG_KEY='#{ENV['GPG_KEY']}'; cd /data/docker/packaging/debian; make debian" config.vm.provision :shell, :inline => pkg_cmd end