This is an automated email from the ASF dual-hosted git repository.
gavinchou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 0338e0efee8 [fix](docker) allow overriding fdb image (#63393)
0338e0efee8 is described below
commit 0338e0efee8d2700f82b7e30ea4a2d76bdc0f23c
Author: bobhan1 <[email protected]>
AuthorDate: Tue May 19 20:03:17 2026 +0800
[fix](docker) allow overriding fdb image (#63393)
Add an --fdb-image option to doris-compose up, with DORIS_FDB_IMAGE as the
environment-variable default. This lets docker regression cases use a locally
derived FoundationDB image while preserving the existing --fdb-version based
default image when no override is provided.
---
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 14f3158a96c..11151ca7f1b 100644
--- a/docker/runtime/doris-compose/command.py
+++ b/docker/runtime/doris-compose/command.py
@@ -536,6 +536,11 @@ class UpCommand(Command):
type=str,
default="7.3.69",
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",
@@ -738,9 +743,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]