From: Rihab Banday Date: Fri, 21 Aug 2020 13:20:55 +0000 (+0200) Subject: Dockerfile of the container that installs BMRA X-Git-Tag: opnfv-10.0.0~25 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=kuberef.git;a=commitdiff_plain;h=2b634f4bfb502d826074e718298ae94b8de2749c 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 --- 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"]