Gallardot commented on code in PR #15764:
URL: 
https://github.com/apache/dolphinscheduler/pull/15764#discussion_r1537451371


##########
dolphinscheduler-worker/src/main/docker/Dockerfile:
##########
@@ -15,7 +15,7 @@
 # limitations under the License.
 #
 
-FROM eclipse-temurin:8-jre
+FROM eclipse-temurin:8-jdk

Review Comment:
   > If the task that relies on JAVA_HOME uses an environment to import the 
JAVA_HOME, do we still need to change the Docker file?
   
   @ruanwenjun 
   Yes, because the JAVA task requires `javac` to compile java code, and this 
command requires the JDK to be installed, which is not available when only the 
JRE is installed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to