]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
script/build-with-container.py: build builder image with --pull=always
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 19 Feb 2025 18:20:01 +0000 (13:20 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 28 Feb 2025 20:16:35 +0000 (15:16 -0500)
commitf6e6188e30a9d765e86bd2d710666cfbdeb0818c
tree853ffef3f20cfabacb3cfb755b06b548db0cef92
parent37b7d509c59348ae11badd6673cb49ce9ce303fa
script/build-with-container.py: build builder image with --pull=always

Construct the builder image using the --pull=always flag to initiate a
pull of the base image (centos, ubuntu, etc) in order to avoid using a
stale base image. Since the script automatically (by default) avoids
building if a matching tag is in local container storage it is handy to
use a fresh base when it *is* time to build something. Otherwise, you
end up in a situation like I sometimes do - using a months old base
unintentionally.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/script/build-with-container.py