Open chriswangelin opened 1 year ago
@chriswangelin Hey Chris, thanks for the issue -- you are correct, there is currently no runtime image offered for Java, but Oryx does have the ability to build Java applications for other scenarios leveraged by internal Microsoft services.
We currently don't have any plans to extend runtime support to the Java platform, but that may change in the future if we see enough traction from the community and internal Microsoft services that would like to run their Java applications using this task.
The error message you're seeing is definitely not ideal, so I'll make sure that we update it so users targeting our Oryx builder to create a runnable application image are prompted with an actionable message when using an unsupported platform. Thanks for the feedback and feel free to let us know if you have any additional questions!
@cormacpayne Cormac, thank you for the clarification and prompt action on this issue. Although my immediate use case is Java, I have several use cases for supported platforms that I look forward to trying out in the coming months. Really appreciate the work you and your team have put into evolving this product!
Is supporting the Java runtime stack on the roadmap? I noticed that Java is not in the list of supported Oryx versions that can be pulled from MCR.
Before I was aware of the Java limitation, I tried to deploy a Java-based image and got the following error:
ERROR: failed to build: invalid run-image 'mcr.microsoft.com/oryx/:': invalid reference format
I also noticed this in the log:
No runtimeStack argument was provided; using the runtime stack that was found for the app ':'.
More context:
An error message indicating that I attempted to use an unsupported runtime stack would have been helpful to me.