OpenLiberty / guides-common

Common Guide files
Other
9 stars 6 forks source link

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

Open irobins opened 1 year ago

irobins commented 1 year ago

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 commented 1 year ago

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: