Skip to content

Commit bc80c5f

Browse files
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 <[email protected]>
1 parent f026709 commit bc80c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/build-with-container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def build_container(ctx):
459459
cmd = [
460460
ctx.container_engine,
461461
"build",
462-
"--pull=always",
462+
"--pull",
463463
"-t",
464464
ctx.image_name,
465465
f"--build-arg=JENKINS_HOME={ctx.cli.homedir}",

0 commit comments

Comments
 (0)