diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2016-10-13 10:10:44 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2016-10-13 10:10:44 +0000 |
commit | 6894ca648e4208490c75200103d4a10e0197e0cf (patch) | |
tree | 6b7a7be0bda9b507c308f78933c561d6d3cadd49 /stretch-amd64 | |
parent | dbbb38f1942d88e3b848954ae665add30f6a7f11 (diff) |
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
Diffstat (limited to 'stretch-amd64')
-rwxr-xr-x | stretch-amd64/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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}) . |