]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerKamoltat Sirivadhna <ksirivad@redhat.com>
Fri, 10 Oct 2025 18:27:42 +0000 (18:27 +0000)
commitf29c89538acd66f4ffd1dd862e0990e0f14f8eac
treeaf85dd3ff1af29e719ad8e08c6ec68122f703595
parent106460094116449f35770262065bd59bf8a8b7e4
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>
(cherry picked from commit f6e6188e30a9d765e86bd2d710666cfbdeb0818c)
(cherry picked from commit 915f6210d7e5bb2bd020dc02febaf1eb1afd1798)
src/script/build-with-container.py