Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the -Pnative from the mvn package command - is misleading #2

Open
matthenry87 opened this issue May 3, 2023 · 0 comments
Open

Comments

@matthenry87
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant