diff options
author | Rihab Banday <rihab.banday@ericsson.com> | 2020-08-21 15:20:55 +0200 |
---|---|---|
committer | Georg Kunz <georg.kunz@est.tech> | 2020-08-26 15:51:59 +0000 |
commit | 2b634f4bfb502d826074e718298ae94b8de2749c (patch) | |
tree | d110ee09d62eeaadbf3b573fcd7b82920f265bde /sw_config | |
parent | 8fb9efc2a7de10b821a1646378399e32fa9d09bd (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>
Diffstat (limited to 'sw_config')
-rw-r--r-- | sw_config/bmra/Dockerfile | 11 |
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"] |