This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new 2433af5ba1c branch-4.1: [fix](docker) allow overriding fdb image
#63393 (#63424)
2433af5ba1c is described below
commit 2433af5ba1cb628904ab11ef7841822dab91fe2a
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu May 21 11:56:09 2026 +0800
branch-4.1: [fix](docker) allow overriding fdb image #63393 (#63424)
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 956820269e0..6acbe479532 100644
--- a/docker/runtime/doris-compose/command.py
+++ b/docker/runtime/doris-compose/command.py
@@ -500,6 +500,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",
@@ -673,9 +678,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]