commit | 9bd4bf6ac4aa36b7c16ff002d5262e577f08c14f | [log] [tgz] |
---|---|---|
author | Pamela Dragosh <pdragosh@research.att.com> | Thu Mar 30 12:46:08 2017 -0400 |
committer | Pamela Dragosh <pdragosh@research.att.com> | Thu Mar 30 13:43:52 2017 -0400 |
tree | 7fc7de7f649c06e3af5bb38002d88e08d5a3cb18 | |
parent | 18882a02287cc431144612ac87a5a3473693c067 [diff] |
update Dockerfile to onap Change-Id: I9c5229cdc79a7dfc5f74d919c58aa579084fef55 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
This source repository contains the files for building the OpenECOMP Policy Engine Docker images.
To build it using Maven 3, first build 'policy-common-modules', 'policy-engine', 'policy-drools-pdp', and 'policy-drools-applications' repositories, and then run: mvn prepare-package. This will pull the installation zip files needed for building the policy-pe and policy-drools Docker images into the target directory. It will not actually build the docker images; the following additional steps are needed to accomplish this:
In addition, the 'config' dirctory contains configuration files that are read during the startup of the containers; this directory is referenced by the docker-compose.yml file.
If you want to call the docker-compose, the following needs to be setup before doing so:
chmod +x config/drools/drools-tweaks.sh IP_ADDRESS=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2) echo $IP_ADDRESS > config/pe/ip_addr.txt