From: jose.lausuch Date: Wed, 13 Jan 2016 17:07:00 +0000 (+0100) Subject: test: add --no-cache flag when building docker images X-Git-Tag: brahmaputra.1.0~232 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=69989818e835bd10e19e1bd67ccf425cb6fe4ac0;p=releng.git test: add --no-cache flag when building docker images Now in the right place Change-Id: I3b42c51775d57561d530b3407752433c48253dc4 Signed-off-by: jose.lausuch --- diff --git a/jjb/opnfv/opnfv-docker.sh b/jjb/opnfv/opnfv-docker.sh index da62681d9..108485d0b 100644 --- a/jjb/opnfv/opnfv-docker.sh +++ b/jjb/opnfv/opnfv-docker.sh @@ -91,7 +91,7 @@ echo "Tag version to be build and pushed: $DOCKER_TAG" # Start the build echo "Building docker image: $DOCKER_REPO_NAME:$DOCKER_TAG..." -docker build -t --no-cache $DOCKER_REPO_NAME:$DOCKER_TAG . +docker build --no-cache -t $DOCKER_REPO_NAME:$DOCKER_TAG . echo "Creating tag 'latest'..." docker tag $DOCKER_REPO_NAME:$DOCKER_TAG $DOCKER_REPO_NAME:latest