1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash # echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES =================' 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 done