summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRihab Banday <rihab.banday@ericsson.com>2020-08-21 15:20:55 +0200
committerGeorg Kunz <georg.kunz@est.tech>2020-08-26 15:51:59 +0000
commit2b634f4bfb502d826074e718298ae94b8de2749c (patch)
treed110ee09d62eeaadbf3b573fcd7b82920f265bde
parent8fb9efc2a7de10b821a1646378399e32fa9d09bd (diff)
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 <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70838 Reviewed-by: Victor Morales <chipahuac@hotmail.com> Reviewed-by: Georg Kunz <georg.kunz@est.tech> Tested-by: Georg Kunz <georg.kunz@est.tech>
-rw-r--r--sw_config/bmra/Dockerfile11
1 files changed, 11 insertions, 0 deletions
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 <rihab.banday@ericsson.com>"
+
+#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"]