Dockerfile of the container that installs BMRA 38/70838/2
authorRihab Banday <rihab.banday@ericsson.com>
Fri, 21 Aug 2020 13:20:55 +0000 (15:20 +0200)
committerGeorg Kunz <georg.kunz@est.tech>
Wed, 26 Aug 2020 15:51:59 +0000 (15:51 +0000)
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>
sw_config/bmra/Dockerfile [new file with mode: 0644]

diff --git a/sw_config/bmra/Dockerfile b/sw_config/bmra/Dockerfile
new file mode 100644 (file)
index 0000000..d1c8b24
--- /dev/null
@@ -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"]