aboutsummaryrefslogtreecommitdiffstats
path: root/deploy.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-08-01 14:26:14 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-08-01 14:26:14 -0700
commitaefd2800e8257b5ee46a2df80bf20a662878287d (patch)
tree311c16e0505935390bf93d0ce276b03f539690be /deploy.sh
parentf6462d74efe1a972029477026f2abc4447d34478 (diff)
Do not untag downloaded docker images
Untagging the images makes it impossible to identify the docker image versions actually running on the system. This change resolves the issue. Change-Id: I8b93a2d6b1ac02ce9adf27c9c1fd89c2445d5735 Issue-ID: SO-728 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/deploy.sh b/deploy.sh
index d785713..7cbcbe5 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -98,12 +98,10 @@ function pull_docker_images() {
# get images
$DOCKER_CMD pull $NEXUS_DOCKER_REPO_MSO/openecomp/mso:$MSO_DOCKER_IMAGE_VERSION
$DOCKER_CMD tag $NEXUS_DOCKER_REPO_MSO/openecomp/mso:$MSO_DOCKER_IMAGE_VERSION openecomp/mso:latest
- $DOCKER_CMD rmi $NEXUS_DOCKER_REPO_MSO/openecomp/mso:$MSO_DOCKER_IMAGE_VERSION
echo "Using Nexus for MARIADB: $NEXUS_DOCKER_REPO_MARIADB (user "$NEXUS_USERNAME_MARIADB")"
$DOCKER_CMD pull $NEXUS_DOCKER_REPO_MARIADB/mariadb:10.1.11
$DOCKER_CMD tag $NEXUS_DOCKER_REPO_MARIADB/mariadb:10.1.11 mariadb:10.1.11
- $DOCKER_CMD rmi $NEXUS_DOCKER_REPO_MARIADB/mariadb:10.1.11
}