summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-02-28 13:35:24 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-02-28 13:36:53 +0100
commit880d0cb6207f276caa914e93e40db869621a09a9 (patch)
tree87b7cc889f9b5233c9727bea3069ca02ed19d414
parentd4efc6803c184ccb8e53e6ef826611021853960f (diff)
Pull the latest parent when building containers
Change-Id: I534c14f4415c16661fb95966077621497c6f9cdc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--jjb/releng/opnfv-docker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/releng/opnfv-docker.sh b/jjb/releng/opnfv-docker.sh
index 28e5b7ce1..5c8cafbe3 100644
--- a/jjb/releng/opnfv-docker.sh
+++ b/jjb/releng/opnfv-docker.sh
@@ -111,7 +111,7 @@ fi
echo "Building docker image: $DOCKER_REPO_NAME:$DOCKER_TAG"
echo "--------------------------------------------------------"
echo
-cmd="docker build --no-cache -t $DOCKER_REPO_NAME:$DOCKER_TAG --build-arg BRANCH=$BUILD_BRANCH
+cmd="docker build --pull=true --no-cache -t $DOCKER_REPO_NAME:$DOCKER_TAG --build-arg BRANCH=$BUILD_BRANCH
$ARCH_BUILD_ARG
-f $DOCKERFILE $DOCKER_PATH"