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>
--- /dev/null
+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"]