From: John Mulligan Date: Fri, 14 Mar 2025 18:39:09 +0000 (-0400) Subject: script/build-with-container: fix building on docker X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=34fcdf69ccbb1c548970dd9a8b05f70ee080ec11;p=ceph.git script/build-with-container: fix building on docker Fix building images on docker by using the `--pull` option instead of `--pull=always`. The latter apparently only works on podman. The former should do the same thing on both container engines. Fixes: https://tracker.ceph.com/issues/70470 Signed-off-by: John Mulligan (cherry picked from commit bc80c5fde5944f04a31d3f9f29db145b05214ab3) --- diff --git a/src/script/build-with-container.py b/src/script/build-with-container.py index 761d190b26d3..aded2a7de33c 100755 --- a/src/script/build-with-container.py +++ b/src/script/build-with-container.py @@ -468,7 +468,7 @@ def build_container(ctx): cmd = [ ctx.container_engine, "build", - "--pull=always", + "--pull", "-t", ctx.image_name, f"--build-arg=JENKINS_HOME={ctx.cli.homedir}",