From: Anil Belur Date: Mon, 9 Apr 2018 23:55:19 +0000 (+1000) Subject: Install ansible plugin X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=814ec6ea979b52088c5b0cd8d86aa6dc9006adce;p=releng%2Fci-workshop.git Install ansible plugin Ansible plugin also requires ansible binary to be installed on the docker container. Include the required dependencies and also format the Dockerfile to make the dependencies readable. Change-Id: I3e9e9ce92399e766dbce0c7d068020d8a10764ab Signed-off-by: Anil Belur --- diff --git a/jenkins/agent/Dockerfile b/jenkins/agent/Dockerfile index 70177e9..8db4fc4 100644 --- a/jenkins/agent/Dockerfile +++ b/jenkins/agent/Dockerfile @@ -1,11 +1,21 @@ FROM jenkinsci/ssh-slave RUN DEBIAN_FRONTEND=noninteractive \ - apt-get update \ - && apt-get install --no-install-recommends -y python python-pip \ - python-tox python-dev \ - build-essential zip facter xmlstarlet \ - && apt-get clean + apt-get update && \ + apt-get install --no-install-recommends -y \ + build-essential \ + facter \ + libffi-dev \ + libssl-dev \ + python \ + python-pip \ + python-tox \ + python-dev \ + xmlstarlet \ + zip && \ + apt-get clean RUN /usr/bin/pip install --upgrade setuptools -RUN /usr/bin/pip install virtualenv +RUN /usr/bin/pip install --upgrade virtualenv +RUN /usr/bin/pip install --upgrade cryptography +RUN /usr/bin/pip install --upgrade ansible diff --git a/jenkins/plugins.txt b/jenkins/plugins.txt index b9fc5d7..985d88f 100644 --- a/jenkins/plugins.txt +++ b/jenkins/plugins.txt @@ -1,4 +1,5 @@ ace-editor:1.1 +ansible:1.0 ant:1.8 antisamy-markup-formatter:1.5 apache-httpcomponents-client-4-api:4.5.3-2.1