moving to another local script 91/1091/1
authorPamela Dragosh <pdragosh@research.att.com>
Tue, 21 Feb 2017 13:57:39 +0000 (08:57 -0500)
committerPamela Dragosh <pdragosh@research.att.com>
Tue, 21 Feb 2017 13:57:45 +0000 (08:57 -0500)
Change-Id: I88282ef60e1e7d9756b2df739947f51653e0854b
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
jjb/policy/include-raw-docker.sh

index 6b77493..ace9f97 100644 (file)
@@ -1,19 +1,8 @@
 #!/bin/bash
 #
-echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES ================='
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
 
+CURRENTDIR="$(pwd)"
+echo $CURRENTDIR
 
-DOCKER_REPOSITORY=nexus3.openecomp.org:10003
-
-for image in policy-os policy-nexus policy-db policy-base policy-drools policy-pe ; do
-    echo "Building $image"
-    mkdir -p target/$image
-    cp $image/* target/$image
-    docker build --quiet --tag ${DOCKER_REPOSITORY}/openecomp/policy/$image:1.0.0-SNAPSHOT target/$image
-    docker images
-done
-
-for image in policy-nexus policy-db policy-drools policy-pe; do
-    echo "Pushing $image"
-    docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:1.0.0-SNAPSHOT
-done
+./docker_build.sh
\ No newline at end of file