summaryrefslogtreecommitdiffstats
path: root/docker_verify.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker_verify.sh')
-rwxr-xr-x[-rw-r--r--]docker_verify.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/docker_verify.sh b/docker_verify.sh
index 8cbfe993..65019782 100644..100755
--- a/docker_verify.sh
+++ b/docker_verify.sh
@@ -2,7 +2,19 @@
#
echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES ================='
-
DOCKER_REPOSITORY=nexus3.openecomp.org:10003
DOCKER_VERSION=latest
+export DOCKER_REPOSITORY
+export DOCKER_VERSION
+
+cp policy-pe/* target/policy-pe/
+cp policy-drools/* target/policy-drools/
+
+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 openecomp/policy/$image:${DOCKER_VERSION} --tag ${DOCKER_REPOSITORY}/openecomp/policy/$image:${DOCKER_VERSION} target/$image
+ docker images
+done