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

improve: use jlink to reduce jdk size in the image #4456

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

nodece
Copy link
Member

@nodece nodece commented Jun 26, 2024

@nodece
Copy link
Member Author

nodece commented Jun 27, 2024

Could you help to review? @shoothzj @lhotari

@shoothzj
Copy link
Member

Does this only include the JRE, and exclude JDK tools like jmap, etc.?

@nodece
Copy link
Member Author

nodece commented Jun 27, 2024

Does this only include the JRE, and exclude JDK tools like jmap, etc.?

No. This image includes the JRE and JDK tools.

@nodece
Copy link
Member Author

nodece commented Jul 2, 2024

Could you help to review? @dlg99

Copy link
Contributor

@dlg99 dlg99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am I right that this change will downgrade jdk from 17 to 11 in the docker image?

docker/Dockerfile Show resolved Hide resolved
@nodece nodece requested a review from dlg99 July 2, 2024 17:45
@nodece
Copy link
Member Author

nodece commented Jul 2, 2024

Am I right that this change will downgrade jdk from 17 to 11 in the docker image?

You are right, I should use jdk 17.

@shoothzj shoothzj merged commit 123316b into apache:master Jul 3, 2024
23 checks passed
@nodece nodece deleted the reduce-jdk-size branch July 3, 2024 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants