From 6894ca648e4208490c75200103d4a10e0197e0cf Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Thu, 13 Oct 2016 10:10:44 +0000 Subject: All images: Add --pull option to "docker build" ... to re-download base image, such as ubuntu:trusty when it changes upstream, even when an [older] copy is present locally. This prevents re-using older base images when re-building fresh ones. This change was done programmatically with: find -name build.sh | xargs sed -i -e "s/docker build --tag/docker build --pull --tag/" Change-Id: I3c567139fd1534e74e6846af573ad025d293bf9f --- stretch-amd64/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stretch-amd64') diff --git a/stretch-amd64/build.sh b/stretch-amd64/build.sh index 39a649a..34f8f99 100755 --- a/stretch-amd64/build.sh +++ b/stretch-amd64/build.sh @@ -19,4 +19,4 @@ sed -e "s|@DISTRIBUTION@|${DISTRIBUTION}|" -i *.list # fixup - get rid of PPA usage rm -f linaro-*ppa.* -docker build --tag=linaro/$(basename ${PWD}) . +docker build --pull --tag=linaro/$(basename ${PWD}) . -- cgit v1.2.3