aboutsummaryrefslogtreecommitdiffstats
path: root/packer
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-04-18 16:24:42 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-04-18 16:24:42 +0200
commit0029cfd2afa537a9d7a9e3938a688d7df8f46d3b (patch)
treef4259264a1f969f24bd48a603f0089956da37d04 /packer
parent86e432ba95987bf8d223e614060448b79b7ae1bc (diff)
Add dependencies for xds build in CI
Change-Id: I5e22868ecb676006ea3e92296ded1d2d9d35f381 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'packer')
-rw-r--r--packer/provision/agl_dependencies.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh
index 662d649a..67a3b640 100644
--- a/packer/provision/agl_dependencies.sh
+++ b/packer/provision/agl_dependencies.sh
@@ -22,7 +22,7 @@ DEBIAN_FRONTEND=noninteractive apt-get update && \
libtool libglib2.0-dev libarchive-dev python-git git python python-minimal repo \
tree rsync python-yaml python-requests curl tar docker.io pandoc python3 \
ruby-all-dev ruby-ffi ruby-ffi-* jekyll ruby-redcarpet npm mkdocs nodejs \
- python-pip python-simplejson g++-multilib
+ python-pip python-simplejson g++-multilib make zip unzip
DEBIAN_FRONTEND=noninteractive apt-get install -y -t jessie-backports lava-tool=0.19-1~bpo8+1
@@ -107,4 +107,14 @@ python -c "import sys; print sys.path"
sudo pip show jinja2
+# install go for xds build
+
+source /etc/os-release
+wget -O "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x52B59B1571A79DBC054901C0F6BC817356A3D45E" | sudo apt-key add -
+sudo bash -c "cat >> /etc/apt/sources.list.d/golang.list <<EOF
+deb http://ppa.launchpad.net/longsleep/golang-backports/ubuntu ${VERSION_CODENAME} main
+EOF"
+sudo apt-get update
+sudo apt-get install golang-go
+
exit 0