Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Docker build failed due to a low JDK version #4670

Closed
3 tasks done
Pil0tXia opened this issue Dec 17, 2023 · 0 comments · Fixed by #4675
Closed
3 tasks done

[Bug] Docker build failed due to a low JDK version #4670

Pil0tXia opened this issue Dec 17, 2023 · 0 comments · Fixed by #4675
Labels
bug Something isn't working

Comments

@Pil0tXia
Copy link
Member

Pil0tXia commented Dec 17, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

Environment

Win/Mac/Ubuntu

EventMesh version

master

What happened

Errors occurred during the Docker build process due to a low JDK version of the JDBC connector.

How to reproduce

Fix the problem of errors occurring during the Docker build process due to a low JDK version of the JDBC connector.

Debug logs

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@Pil0tXia Pil0tXia added the bug Something isn't working label Dec 17, 2023
pandaapo pushed a commit that referenced this issue Dec 19, 2023
* Switch jdk8 to jre11

* Locate Java executable, check version and apply distinguished vm options
https://docs.oracle.com/javase/9/tools/java.htm#GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5__CONVERTGCLOGGINGFLAGSTOXLOG-A5046BD1

* Streamline further

* minor: Adjust port seq

* minor: Streamline a little

* Redirect GC logs to log file instead of stdout

* Streamline EVENTMESH_LOG_HOME & XLOG_PARAM

* Use multi-stage compiled JRE8 env by default

* fix: get pid correctly in docker

* Generate pid file exactly under /bin

* exec builder_8 exactly after builder_11

* Use JDK instead of JRE

* Rename dockerfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
1 participant