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

Guides with containerfiles/dockerfiles should move from Java 11 to Java 17 #956

Open
irobins opened this issue Aug 23, 2023 · 1 comment

Comments

@irobins
Copy link
Member

irobins commented Aug 23, 2023

Update Liberty Guides from creating Semeru 11 containers to Semeru 17 containers.

While the guides are typically not Java-specific, many have containerfile/dockerfile examples that use Java 11 rather than Java 17:
FROM icr.io/appcafe/open-liberty:-java11-openj9-ubi

e.g. icr.io/appcafe/open-liberty:full-java11-openj9-ubi in Containerizing microservices with Podman
e.g. icrr.io/appcafe/open-liberty:kernel-slim-java11-openj9-ubi in Getting Started

We should be encouraging adoption of later Java versions than Java 11; Java 17 has been around for 2 years at the time of raising this issue.

@gkwan-ibm
Copy link
Member

gkwan-ibm commented Aug 23, 2023

That affects the guides test automation and cloud-hosted env. The reactive guides that using MST are not compatible with Java 17. It cannot be done shortly. The rough plan is:

  • update all guides compatible with Java 17 (target: when OL supports MP6.1, mpReactiveMessage-3.0)
  • coordinate with SN to update the labs to provide Java 17
  • update the guides to use Java 17
    • pom.xml, gradle file, Dockerfile, Containerfile
  • update the guides test automation to use Java 17
  • suggest liberty starter to use Java 17 by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants