aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant
diff options
context:
space:
mode:
authormmis <michael.morris@ericsson.com>2018-03-05 18:23:39 +0000
committermmis <michael.morris@ericsson.com>2018-03-05 18:37:45 +0000
commit0d85691073de0731e54a12e56b02b6b44807aa58 (patch)
treecafddbeb94e884d187a3911c7b05716ac8ff842d /vagrant
parent26ad312c7232b44aa06e61beca114f305bd702d4 (diff)
Remove policy-os and policy-base images
Remove the policy-os and policy-base images in favour of including their contents directly in the policy-pdp and policy-pe images Issue-ID: POLICY-624 Change-Id: Ie4ef62d5a7fc0edb481be13891ee12cf9271674c Signed-off-by: mmis <michael.morris@ericsson.com>
Diffstat (limited to 'vagrant')
-rwxr-xr-xvagrant/setup_policy.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/vagrant/setup_policy.sh b/vagrant/setup_policy.sh
index 5a599a15..5648fd4d 100755
--- a/vagrant/setup_policy.sh
+++ b/vagrant/setup_policy.sh
@@ -18,17 +18,17 @@ do
mvn clean install
done
+for comp in policy-pe policy-drools
+do
+ cd $HOME/$comp
+ sudo docker build -t onap/policy/$comp packages/docker/target/$comp
+done
+
cd $HOME
git clone http://gerrit.onap.org/r/policy/docker
cd docker
-mvn prepare-package
-cp -r target/policy-pe/* policy-pe/
-cp -r target/policy-drools/* policy-drools
-for comp in policy-os policy-nexus policy-base policy-pe policy-drools
-do
- sudo docker build -t onap/policy/$comp $HOME/docker/$comp
-done
+sudo docker build -t onap/policy/policy-nexus policy-nexus
cd $HOME/docker
chmod +x config/drools/drools-tweaks.sh