This is an automated email from the ASF dual-hosted git repository.
wenjun pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 3ae70b7ec4 [Improvement-17249][Doc] Improve
development-environment-setup documentation with plugins (#17258)
3ae70b7ec4 is described below
commit 3ae70b7ec4a21303649f43b0187fd50c1e51e6a3
Author: [email protected] <[email protected]>
AuthorDate: Mon Jun 16 17:45:21 2025 +0800
[Improvement-17249][Doc] Improve development-environment-setup
documentation with plugins (#17258)
---
docs/docs/en/contribute/development-environment-setup.md | 7 +++++--
docs/docs/zh/contribute/development-environment-setup.md | 7 +++++--
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/docs/docs/en/contribute/development-environment-setup.md
b/docs/docs/en/contribute/development-environment-setup.md
index d570f54088..4905e7d9de 100644
--- a/docs/docs/en/contribute/development-environment-setup.md
+++ b/docs/docs/en/contribute/development-environment-setup.md
@@ -60,13 +60,16 @@ DolphinScheduler will release new Docker images after it
released, you could fin
- If you want to modify DolphinScheduler source code, and build Docker images
locally, you can run when finished the modification
+> -Pstaging contains plugins, suitable for development and testing as well as
offline deployment without a network environment
+> -Prelease does not contain plugins, suitable for production environments,
and plugins can be downloaded on demand from a network that can access plugins
+
```shell
cd dolphinscheduler
./mvnw -B clean package \
-Dmaven.test.skip \
-Dspotless.skip = true \
-Ddocker.tag=<TAG> \
- -Pdocker,release
+ -Pdocker,[release|staging]
```
When the command is finished you could find them by command `docker images`.
@@ -80,7 +83,7 @@ cd dolphinscheduler
-Dspotless.skip = true \
-Ddocker.tag=<TAG> \
-Ddocker.hub=<HUB_URL> \
- -Pdocker,release
+ -Pdocker,[release|staging]
```
- If you want to modify DolphinScheduler source code, and also want to add
customize dependencies of Docker image, you can modify the definition of
Dockerfile after modifying the source code. You can run the following command
to find all Dockerfile files.
diff --git a/docs/docs/zh/contribute/development-environment-setup.md
b/docs/docs/zh/contribute/development-environment-setup.md
index a6d56ed8ce..d2e05f6772 100644
--- a/docs/docs/zh/contribute/development-environment-setup.md
+++ b/docs/docs/zh/contribute/development-environment-setup.md
@@ -57,13 +57,16 @@ DolphinScheduler 每次发版都会同时发布 Docker 镜像,你可以在 [Do
* 如果你想基于源码进行改造,然后在本地构建Docker镜像,可以在代码改造完成后运行
+> -Pstaging 包含插件,适合开发和测试以及无网络环境离线部署
+> -Prelease 不包含插件,适合生产环境,有能访问插件的网络可以按需下载
+
```shell
cd dolphinscheduler
./mvnw -B clean package \
-Dmaven.test.skip \
-Dspotless.skip=true \
-Ddocker.tag=<TAG> \
- -Pdocker,release
+ -Pdocker,[release|staging]
```
当命令运行完了后你可以通过 `docker images` 命令查看刚刚创建的镜像
@@ -77,7 +80,7 @@ cd dolphinscheduler
-Dspotless.skip = true \
-Ddocker.tag=<TAG> \
-Ddocker.hub=<HUB_URL> \
- -Pdocker,release
+ -Pdocker,[release|staging]
```
* 如果你不仅需要改造源码,还想要自定义 Docker 镜像打包的依赖,可以在修改源码的同时修改 Dockerfile 的定义。你可以运行以下命令找到所有的
Dockerfile 文件