summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-01-13 18:07:00 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2016-01-13 18:07:00 +0100
commit69989818e835bd10e19e1bd67ccf425cb6fe4ac0 (patch)
treeebee84c77df2945ca7db659d03bbd98f21c9f088 /jjb
parenta4765cf879a52cfb86ef3c074b31a7830c072541 (diff)
test: add --no-cache flag when building docker images
Now in the right place Change-Id: I3b42c51775d57561d530b3407752433c48253dc4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/opnfv/opnfv-docker.sh2
1 files changed, 1 insertions, 1 deletions
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