Install ansible plugin 77/9877/2
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 9 Apr 2018 23:55:19 +0000 (09:55 +1000)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 11 Apr 2018 20:09:38 +0000 (13:09 -0700)
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 <abelur@linuxfoundation.org>
jenkins/agent/Dockerfile
jenkins/plugins.txt

index 70177e9..8db4fc4 100644 (file)
@@ -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
index b9fc5d7..985d88f 100644 (file)
@@ -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