From 2b634f4bfb502d826074e718298ae94b8de2749c Mon Sep 17 00:00:00 2001 From: Rihab Banday Date: Fri, 21 Aug 2020 15:20:55 +0200 Subject: [PATCH] Dockerfile of the container that installs BMRA This change adds a Dockerfile for building a container with all the dependencies required to install BMRA. Currently, the tooling uses a pre-built image, but this file can be useful during troubleshooting issues. Change-Id: Ibe086da10f3ece069327cee521af6f7fbe990a8f Signed-off-by: Rihab Banday Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70838 Reviewed-by: Victor Morales Reviewed-by: Georg Kunz Tested-by: Georg Kunz --- sw_config/bmra/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sw_config/bmra/Dockerfile diff --git a/sw_config/bmra/Dockerfile b/sw_config/bmra/Dockerfile new file mode 100644 index 0000000..d1c8b24 --- /dev/null +++ b/sw_config/bmra/Dockerfile @@ -0,0 +1,11 @@ +FROM centos:7 +MAINTAINER "Rihab Banday " + +#Install tools needed by BMRA Ansible playbooks +RUN yum -y update && \ + yum -y install git epel-release python36 python-netaddr && \ + yum -y install python-pip && \ + pip install ansible==2.7.16 jmespath && \ + pip install jinja2 --upgrade + +CMD ["bash"] -- 2.16.6