Description of changes:
This is just a POC that proves we can get an end to end solution working that builds and deploys a native AOT .NET 7 application on an Amazon Linux 2 container.
There are many TODOs throughout the code, the code is not at all generic yet.
Was tested on Windows with a dotnet new lambda.CustomRuntimeFunction project that was changed from net6.0 to net7.0 and changed PublishReadyToRun to PublishAot
To test, set Amazon.Lambda.Tool as the startup project in Visual Studio, then update the debug config working directory to your CustomRuntimeFunction and add command line arguments deploy-function --build-zip-in-docker true
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description of changes: This is just a POC that proves we can get an end to end solution working that builds and deploys a native AOT .NET 7 application on an Amazon Linux 2 container.
There are many TODOs throughout the code, the code is not at all generic yet.
Was tested on Windows with a
dotnet new lambda.CustomRuntimeFunction
project that was changed fromnet6.0
tonet7.0
and changedPublishReadyToRun
toPublishAot
To test, set Amazon.Lambda.Tool as the startup project in Visual Studio, then update the debug config working directory to your CustomRuntimeFunction and add command line arguments
deploy-function --build-zip-in-docker true
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.