You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to follow the instructions from https://guides.micronaut.io/mn-serverless-function-aws-lambda-graalvm/guide/index.html. Since I was facing some issues, I have just cloned this full repo, went under /complete directory and tried running deploy.sh. It was taking a very long time to build the image and I finally got the error as follows...
Error: Image build request failed with exit status 137
The command '/bin/sh -c /usr/lib/graalvm/bin/native-image --no-server -cp build/libs/complete-*-all.jar' returned a non-zero code: 137
I am using Mac OS. I thought I had all the necessary software installed in my laptop to execute all the instructions. Any pointers to fix the error would be highly appreciated.
The text was updated successfully, but these errors were encountered:
Same situation happened to me. I've tried to use sources from 'complete' directory but they are no longer correct. You don't have to create your own DOCKERFILE or deploy.sh script. I just run maven command ./mvnw package -Dpackaging=docker-native -Dmicronaut.runtime=lambda and it is generating for me function.zip. So documentation should be updated.
By the way, today's maven micronaut compiler plugin works very well. I like to execute only one maven command for all of the steps.
I have been trying to follow the instructions from https://guides.micronaut.io/mn-serverless-function-aws-lambda-graalvm/guide/index.html. Since I was facing some issues, I have just cloned this full repo, went under /complete directory and tried running deploy.sh. It was taking a very long time to build the image and I finally got the error as follows...
Error: Image build request failed with exit status 137
The command '/bin/sh -c /usr/lib/graalvm/bin/native-image --no-server -cp build/libs/complete-*-all.jar' returned a non-zero code: 137
I am using Mac OS. I thought I had all the necessary software installed in my laptop to execute all the instructions. Any pointers to fix the error would be highly appreciated.
The text was updated successfully, but these errors were encountered: