This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new c8212596dbb branch-4.0: [fix](docker) allow overriding fdb image 
#63393 (#63423)
c8212596dbb is described below

commit c8212596dbba6604c1782014d303e249da492ff0
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri May 22 23:51:10 2026 -0700

    branch-4.0: [fix](docker) allow overriding fdb image #63393 (#63423)
    
    Cherry-picked from #63393
    
    Co-authored-by: bobhan1 <[email protected]>
---
 docker/runtime/doris-compose/command.py | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/docker/runtime/doris-compose/command.py 
b/docker/runtime/doris-compose/command.py
index c4a4f9ceff8..c0abb4a257e 100644
--- a/docker/runtime/doris-compose/command.py
+++ b/docker/runtime/doris-compose/command.py
@@ -492,6 +492,11 @@ class UpCommand(Command):
             type=str,
             default="7.1.26",
             help="fdb image version. Only use in cloud cluster.")
+        parser.add_argument(
+            "--fdb-image",
+            type=str,
+            default=os.environ.get("DORIS_FDB_IMAGE", ""),
+            help="Override fdb image. Only use in cloud cluster.")
 
         parser.add_argument(
             "--tde-ak",
@@ -663,9 +668,10 @@ class UpCommand(Command):
             if for_all:
                 cluster.set_image(args.IMAGE)
 
+        fdb_image = args.fdb_image or "foundationdb/foundationdb:{}".format(
+            args.fdb_version)
         for node in cluster.get_all_nodes(CLUSTER.Node.TYPE_FDB):
-            node.set_image("foundationdb/foundationdb:{}".format(
-                args.fdb_version))
+            node.set_image(fdb_image)
 
         cluster.save()
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to