Pil0tXia opened a new pull request, #4675:
URL: https://github.com/apache/eventmesh/pull/4675

   <!--
   ### Contribution Checklist
   
     - Name the pull request in the form "[ISSUE #XXXX] Title of the pull 
request", 
       where *XXXX* should be replaced by the actual issue number.
       Skip *[ISSUE #XXXX]* if there is no associated github issue for this 
pull request.
   
     - Fill out the template below to describe the changes contributed by the 
pull request. 
       That will give reviewers the context they need to do the review.
     
     - Each pull request should address only one issue. 
       Please do not mix up code from multiple issues.
     
     - Each commit in the pull request should have a meaningful commit message.
   
     - Once all items of the checklist are addressed, remove the above text and 
this checklist, 
       leaving only the filled out template below.
   
   (The sections below can be removed for hotfixes of typos)
   -->
   
   <!--
   (If this PR fixes a GitHub issue, please add `Fixes #<XXX>` or `Closes 
#<XXX>`.)
   -->
   
   Fixes #4670.
   
   ### Motivation
   
   https://github.com/Pil0tXia/eventmesh/actions/runs/7238476046/job/19719334574
   
   ### Modifications
   
   - Switch builder JDK version from jdk8 to jdk11 and switch container JDK 
version from jdk8 to **jre**11. Using JRE11 instead of JDK11 as a runtime 
envrionment can reduce 300MB+ imgae size.
   - Modify start.sh to support selecting an available version between Java 8 
and Java 11, and set the VM options accordingly.
   
   **Note**: The JDK version of the Docker container can only compile correctly 
with JDK 11. The binary package built on JDK 8 needs to be tested as well.
   
   Docker compilation documents will be updated later.
   
   
![image](https://github.com/apache/eventmesh/assets/41445332/c2919986-65b9-4d41-9293-517df85c6eb8)
   
   
![image](https://github.com/apache/eventmesh/assets/41445332/39d93b42-c7c1-4d1a-a769-c7128ed3f5ea)
   
   
![image](https://github.com/apache/eventmesh/assets/41445332/f377022b-f841-4061-84c6-c473b31db17e)
   
   ### Documentation
   
   - Does this pull request introduce a new feature? (no)
   - If yes, how is the feature documented? (not applicable / docs / JavaDocs / 
not documented)
   - If a feature is not applicable for documentation, explain why?
   - If a feature is not documented yet in this PR, please create a followup 
issue for adding the documentation
   


-- 
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: dev-unsubscr...@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@eventmesh.apache.org
For additional commands, e-mail: dev-h...@eventmesh.apache.org

Reply via email to