summaryrefslogtreecommitdiffstats
path: root/docker_build.sh
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2019-04-25 22:58:37 -0500
committerjhh <jorge.hernandez-herrero@att.com>2019-04-25 23:27:35 -0500
commitfa324fe235bbba668adeb147ffca27a4124b5af9 (patch)
tree5fab8e2ce060a8648323f3732a53707bfad7beaf /docker_build.sh
parentb38e59b1f797b15d0a3e1170e43a0db92216bbd0 (diff)
Manually pull the base alpine images
Add a hack to undo directory creation from parent images since it causes container initialization to fail. Change-Id: I99dc404cd56a67a2cc84eb1a3773b028ed533d95 Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'docker_build.sh')
-rw-r--r--docker_build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker_build.sh b/docker_build.sh
index 671b54ffe..7100d6c35 100644
--- a/docker_build.sh
+++ b/docker_build.sh
@@ -61,6 +61,10 @@ fi
echo $MVN_MAJMIN_VERSION
+docker login -u docker -p docker nexus3.onap.org:10001
+docker pull nexus3.onap.org:10001/onap/policy-common-alpine:1.4.0
+docker tag nexus3.onap.org:10001/onap/policy-common-alpine:1.4.0 onap/policy-common-alpine:1.4.0
+
echo "Building $IMAGE"
#