Browse Source

[Bug][Worker] Replace jre with jdk (#15764)

Signed-off-by: Gallardot <gallardot@apache.org>
3.2.2-prepare
Gallardot 9 months ago committed by GitHub
parent
commit
5466117838
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      docs/docs/en/guide/task/java.md
  2. 1
      docs/docs/zh/guide/task/java.md
  3. 2
      dolphinscheduler-worker/src/main/docker/Dockerfile

2
docs/docs/en/guide/task/java.md

@ -39,3 +39,5 @@ The main configuration parameters are as follows:
## Note
When you run the task in JAVA execution mode, the public class must exist in the code, and you could omit writing a package statement.
For security reasons, when executing JAVA tasks, please use the environment management module to configure the JDK environment, such as `JAVA_HOME` and other environment variables.

1
docs/docs/zh/guide/task/java.md

@ -43,3 +43,4 @@ java任务类型有两种运行模式,这里以JAVA模式为例进行演示。
使用JAVA运行类型时代码中必须存在public类,可以不写package语句
基于安全原因,执行JAVA任务时,请使用环境管理功能配置JDK环境,例如`JAVA_HOME`等环境变量

2
dolphinscheduler-worker/src/main/docker/Dockerfile

@ -15,7 +15,7 @@
# limitations under the License.
#
FROM eclipse-temurin:8-jre
FROM eclipse-temurin:8-jdk
ENV DOCKER true
ENV TZ Asia/Shanghai

Loading…
Cancel
Save