X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=build4docker.sh;h=f0c3f49922afc8889e2666db02a3073de80c1193;hb=1db162bfcd9acafa3a19c80e3943f568c9f8874a;hp=edcfa655272917b461ec2e8e40de3f210e46f441;hpb=bea7750df3ba45bbc426b71da15bade58408ae2f;p=msb%2Fapigateway.git diff --git a/build4docker.sh b/build4docker.sh index edcfa65..f0c3f49 100644 --- a/build4docker.sh +++ b/build4docker.sh @@ -48,9 +48,9 @@ chmod 777 build_docker_image.sh docker rm -f ${DOCKER_RUN_NAME} -docker rmi ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_LATEST_VERSION} -docker rmi ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}-STAGING-latest -docker rmi ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}-SNAPSHOT-latest +docker rmi --force ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_LATEST_VERSION} +docker rmi --force ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}-STAGING-latest +docker rmi --force ${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME}:${DOCKER_RELEASE_VERSION}-SNAPSHOT-latest ./build_docker_image.sh -n=${DOCKER_REPOSITORY}/onap/msb/${DOCKER_IMAGE_NAME} -v=${DOCKER_LATEST_VERSION} -d=./docker