OpenJ9 images not recognized as using run-java.sh
See original GitHub issueDescription
Quarkus has a hard-coded list of base S2I images known to use the run-java.sh
mechanism: https://github.com/quarkusio/quarkus/blob/1.5.1.Final/extensions/container-image/container-image-s2i/deployment/src/main/java/io/quarkus/container/image/s2i/deployment/S2iBaseJavaImage.java#L11-L19
This list doesn’t include the Red Hat OpenJ9 images, which makes for a sub-par experience.
Implementation ideas
Just add the known OpenJ9 images to the S2iBaseJavaImage
enum:
- https://catalog.redhat.com/software/containers/openj9/openj9-8-rhel7/5ddfdbf75a13461646f8171a
- https://catalog.redhat.com/software/containers/openj9/openj9-11-rhel7/5ddfdb26dd19c71643b652d5
- https://catalog.redhat.com/software/containers/openj9/openj9-8-rhel8/5ddfdbb8bed8bd164a0b1fa1
- https://catalog.redhat.com/software/containers/openj9/openj9-11-rhel8/5ddfdb765a13461646f816f0
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Chapter 5. Known issues Red Hat build of Quarkus 1.3
This section lists known issues with Red Hat build of Quarkus 1.3. ... If the image does not use the run-java.sh script, the...
Read more >Pre warmed Java Docker image with class data sharing
OpenJ9 only reads the last -Xshareclasses option provided. This makes it easy to replace previous options in the commandline when developing ...
Read more >OpenJ9 CRIU Support: A look under the hood (part II)
Introduction In this blog post, we continue to look under the hood of OpenJ9's CRIU support by examining some ways in which a...
Read more >Using the OpenJ9 JVM for Quarkus Applications - Niklas Heidloff
To run the microservice with OpenJ9 in Minikube, invoke the following commands. ... ENTRYPOINT [ "/deployments/run-java.sh" ] ...
Read more >Image Layer Details - gradle:7.2.0-jdk16-openj9 | Docker Hub
gradle:7.2.0-jdk16-openj9 ... Image. Image Layers. 1. ADD file ... in /. 27.25 MB ... /bin/sh -c apt-get update. 15.29 MB.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That’s how I understand it, so feel free to take it and ping me and @Ladicek on the PR 😃
@iocanel if you can do it that would be great. Otherwise I’ll squize it in tomorrow