diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-01-02 21:26:53 +0100 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-01-02 21:26:53 +0100 |
commit | 23f8aac8bc0a2f0f3c90e2ab7a2f52bf2df96ae9 (patch) | |
tree | 6d4a073c4f0b77969c72248f60851b75cea71742 /packer | |
parent | f07e4649b6228acf406857b7cb65f2b84ba66c1c (diff) |
Add ubuntu to group docker and add lava-tool as dependency
Change-Id: I9e298be879477e81678a2d4fa4fa4b9713c7c263
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'packer')
-rw-r--r-- | packer/provision/agl_dependencies.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh index c0f99b2d..602ed40f 100644 --- a/packer/provision/agl_dependencies.sh +++ b/packer/provision/agl_dependencies.sh @@ -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 |