Closed ilopmar closed 5 years ago
If needed, the changes to upgrade the guide to 1.0.0 and use Docker to build Graal native image are in this branch: https://github.com/micronaut-guides/micronaut-function-aws-lambda/tree/upgrade-1.0.0
With the following diff works as expected https://gist.github.com/graemerocher/2637fe74e6191ad8005db99e43ef16c4
When running lambda functions using Graal native image we could do something like this:
But not, while upgrading this guide http://guides.micronaut.io/micronaut-function-aws-lambda/guide/index.html#graal to use Micronaut 1.0.0 I don't know if it's possible to pass those arguments and how to do it.
If I try to start the docker container exposing the ports, for example, to be able to execute a curl, the application doesn't start:
I've pushed the docker image to docker hub. To pull it and do some tests:
Environment Information