-
Notifications
You must be signed in to change notification settings - Fork 868
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
Update java version to 17 on ubuntu #1738
Conversation
@rohithkrn Can you please link up the benchmarks comparison test results? |
@chauhang I linked the results above in performance test results. |
@@ -1,5 +1,5 @@ | |||
distributionBase=GRADLE_USER_HOME | |||
distributionPath=wrapper/dists | |||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4-bin.zip | |||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rohithkrn could you post both dev and prod docker test log which includes docker image size, and run container)? |
@@ -34,7 +34,7 @@ RUN --mount=type=cache,id=apt-dev,target=/var/cache/apt \ | |||
python3.8-distutils \ | |||
python3.8-venv \ | |||
python3-venv \ | |||
openjdk-11-jre-headless \ | |||
openjdk-17-jdk \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please add comments (eg. link of the jdk headless ca-certificate issue) at here so that we can follow later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Couple of questions:
- Are we planning to update the jdk in the github actions as part of a separate PR?
- There are other Dockerfiles which should also be updated, I am fine with doin it as a separate PR (docker/Dockerfile.neuron.dev, kubernetes/kserve/Dockerfile.dev)
Added logs and image sizes in the PR description(testing section) @lxning |
|
* update java version to 17 on ubuntu * fix unrelated lint error * pre-commit run on install_dependencies to fix linting * add comments for jdk debian package bug and lint Co-authored-by: Rohith Nallamaddi <nalrohit@amazon.com>
Description
Upgrades java version to 17 on ubuntu.
One notable change is that
openjdk-17-jdk
instead of just headless package due to circular dependency issue withca-certificate-java
package. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009905. This increased docker image size by ~200MB.Docker images sizes:
Fixes #(issue)
#1619
sub task - #1730
Feature/Issue validation/testing
Test commands ran for above docker tests - test_commands.log