-
Notifications
You must be signed in to change notification settings - Fork 476
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
Lambda ASP.NET Core Web API - Container Image does not work with .NET 7 #1416
Comments
net7 only available in AMD64. |
@IvanFarkas Could you please confirm if changing architecture to Thanks, |
@ashishdhingra Hi Ashish, What's the ETA of the |
The next question is, which configuration should I use till Factors
|
@IvanFarkas We are blocked on ARM64 support till an upcoming change by Microsoft to .NET is released. The good news is there is good progress on Microsoft's side to get the change out. dotnet/runtime#69361 (comment) |
Duplicate of #1310. |
|
@normj Thx Norm. |
Describe the bug
Lambda ASP.NET Core Web API - Container Image does not work with .NET 7
Error in log:
The same project configured for .NET 6 works, but configured for .NET 7 does not work.
See configuration differences in Readme
Sample Project (.NET 6 - main branch)
Sample Project (.NET 7 - net7 branch)
.NET 6 configuration
global.json
*.csproj
aws-lambda-tools-defaults.json
Dockerfile
FROM public.ecr.aws/lambda/dotnet:6
AWS SAM Lambda Output
.NET 7 configuration
global.json
*.csproj
aws-lambda-tools-defaults.json
Dockerfile
FROM public.ecr.aws/lambda/dotnet:7
AWS SAM Lambda Output
AWS Log
Expected Behavior
It behaves as the .NET 6 configuration
Current Behavior
Report error. I suspect it does not work with amd64 Graviton CPU.
AWS SAM Lambda Output
AWS Log
The text was updated successfully, but these errors were encountered: