Add ubuntu to group docker and add lava-tool as dependency 51/8051/1
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Mon, 2 Jan 2017 20:26:53 +0000 (21:26 +0100)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Mon, 2 Jan 2017 20:26:53 +0000 (21:26 +0100)
Change-Id: I9e298be879477e81678a2d4fa4fa4b9713c7c263
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
packer/provision/agl_dependencies.sh

index c0f99b2..602ed40 100644 (file)
@@ -18,7 +18,8 @@ DEBIAN_FRONTEND=noninteractive apt-get update && \
                        libsdl1.2-dev xterm make xsltproc docbook-utils fop dblatex xmlto autoconf automake \
                        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
+                       ruby-all-dev ruby-ffi ruby-ffi-* jekyll ruby-redcarpet npm mkdocs nodejs \
+                       lava-tool
 
 
 # we have a build blocker wrt useradd - I assume it is caused by /bin/sh being dash
@@ -26,6 +27,9 @@ DEBIAN_FRONTEND=noninteractive apt-get update && \
 echo "dash dash/sh boolean false" | debconf-set-selections
 DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 
+# add user ubuntu to docker group:
+sudo usermod -a -G docker ubuntu
+
 cat <<EOFHOSTS >> /etc/hosts
 
 # workaround for download-new