GraalVM for more performant backend images
close https://github.com/Sybit-Education/Diveni/issues/422
Hi @SponsoredByPuma 👋🏻 Can you review my PR. Thanks
Yeah, sure I will look into this the next following days
Hi @Harsh3305,
I looked over your PR and it looks good.
I've just got a problem trying to run it on my machine, maybe you could help me out there.
Everytime i try to run it I get this error:
What could I do to fix this?
I receive the same error as @SponsoredByPuma . Could this possibly be due to all GraalVM images now being on GHCR?
See: https://github.com/graalvm/container/pkgs/container/graalvm-ce
We might need to change oracle/graalvm-ce:latest to, for example, ghcr.io/graalvm/graalvm-ce:ol8-java17.
Hi @SponsoredByPuma @Dan1elBox Done some changes in dockerfile. Please review 😄
Hi @Harsh3305,
the issue is now fixed. Currently I get an error message at the last step:
Which command are you using to start the docker?
Hi @Harsh3305 The image now loads correctly, but I'm encountering the same error as @SponsoredByPuma, indicating that I should specify the class with the main entry point method.
Hi @Harsh3305, is there any performance gain at all with GraalVM over Docker?
Hi @Harsh3305,
is there any performance gain at all with GraalVM over Docker?
@KzuDemEvin GraalVM is created especially for container environments and requires less space and startup overhead - as I know.
I think this needs more investigation than just replace docker: https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html
Hi @Harsh3305, thank you for your interest and contribution to this project 😃 Do you plan to continue working on this PR in the future?"