I had a developer show me this repository as an example of how to use a GraalVM native image in an AWS Lambda. I now understand that this isn't the case - but I suggest either:
- Remove the -P native arg from the mvn package command in the Dockerfile and remove the native-build-tools plugin from POM
- OR: Add an additional example of how to use the native executable in the Lambda instead of the jar
Here is a good example I found of how to leverage the native executable produced: https://www.graalvmonlambda.com/walkthrough/convert-to-graalvm/