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

Update ubi8/openjdk-VERSION from 1.18 to 1.19 #40468

Closed
mschorsch opened this issue May 6, 2024 · 2 comments · Fixed by #40537
Closed

Update ubi8/openjdk-VERSION from 1.18 to 1.19 #40468

mschorsch opened this issue May 6, 2024 · 2 comments · Fixed by #40537
Assignees
Labels
area/housekeeping Issue type for generalized tasks not related to bugs or enhancements good first issue Good for newcomers
Milestone

Comments

@mschorsch
Copy link
Contributor

Description

1.19 is recommended (https://catalog.redhat.com/software/containers/ubi8/openjdk-21/653fb7e21b2ec10f7dfc10d0?architecture=amd64&image=66215ae965a2c95dee4e50fb). Currently 1.18 is still being used: https://github.com/quarkusio/quarkus/blob/3.10.0/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/tooling/dockerfiles/base/Dockerfile-layout.include.qute

One more question, can the version of ubi8/openjdk-21 be upgraded for Quarkus 3.10 without risk or are adjustments necessary?

Implementation ideas

No response

@mschorsch mschorsch added the area/housekeeping Issue type for generalized tasks not related to bugs or enhancements label May 6, 2024
@gastaldi gastaldi added the good first issue Good for newcomers label May 8, 2024
@gastaldi gastaldi self-assigned this May 9, 2024
@mschorsch
Copy link
Contributor Author

mschorsch commented May 10, 2024

@gastaldi For each Java Version there are two images ubi8/openjdk-VERSION:1.19 and ubi8/openjdk-VERSION:1.19-runtime (https://github.com/jboss-container-images/openjdk/). Could you explain the difference? Why Quarkus did not use the runtime version?

Edit: A project that does not use "Source To Image (S2I)" can use ubi8/openjdk-VERSION:1.19-runtime, right?

@gastaldi
Copy link
Contributor

@mschorsch According to the ubi8/openjdk-11-runtime image docs: The container does not contain the Java compiler / JDK tools or Maven.

Edit: A project that does not use "Source To Image (S2I)" can use ubi8/openjdk-VERSION:1.19-runtime, right?

It depends on what your image needs. If you are simply packaging the binary produced in a previous stage, then yes, the runtime should be enough for you.

@quarkus-bot quarkus-bot bot added this to the 3.11 - main milestone May 10, 2024
@gsmet gsmet modified the milestones: 3.11 - main, 3.10.1 May 10, 2024
@gsmet gsmet modified the milestones: 3.10.1, 3.8.5 May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/housekeeping Issue type for generalized tasks not related to bugs or enhancements good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants