aws-lambda-dotnet icon indicating copy to clipboard operation
aws-lambda-dotnet copied to clipboard

Latest AWS Lambda dotnet image is only for arm

Open lionel-faber opened this issue 3 years ago • 6 comments

Describe the bug

The latest image uploaded today is for ARM and not AMD64 image

Expected Behavior

The last version had separate images for arm and amd64. Is this being migrated to use a single multi-platform image?

Current Behavior

The latest image seems to support only arm64.

Reproduction Steps

Build a docker image that uses the latest base image:

FROM public.ecr.aws/lambda/dotnet:7

The image always targets arm64

Possible Solution

No response

Additional Information/Context

No response

AWS .NET SDK and/or Package version used

N/A

Targeted .NET Platform

.NET 7

Operating System and version

Amazon Linux

lionel-faber avatar Mar 28 '23 12:03 lionel-faber

This is breaking our deployments, as we use public.ecr.aws/lambda/dotnet:7, which up until today, was for platform linux/amd64. We've had to change our docker files to use public.ecr.aws/lambda/dotnet:7.2023.03.21.20 in order to work around this issue.

arturomonge avatar Mar 28 '23 21:03 arturomonge

@arturomonge @lionel1704 Acknowledge this is an unintended breaking behavior. Previously we only had the amd64 image and as part of this month's patch we added an arm64. That was not intended to replace the amd64 and public.ecr.aws/lambda/dotnet:7 should have been a multi arch image similar to how we did .NET 6.

I'm tracking down what went wrong and will try and get this fixed up as soon as possible.

normj avatar Mar 28 '23 21:03 normj

New images have been pushed fixing the issue. The public.ecr.aws/lambda/dotnet:7 tag is now correctly a multi arch image so it will work for either amd64 or arm64.

Sorry for this mistake and thanks for your patience's.

normj avatar Mar 29 '23 16:03 normj

@lionel1704 Please verify this at your end if this is fixed and confirm if we could close this issue.

ashishdhingra avatar Mar 29 '23 17:03 ashishdhingra

This works as expected now. Thank you!

lionel-faber avatar Mar 29 '23 19:03 lionel-faber

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

github-actions[bot] avatar Mar 29 '23 19:03 github-actions[bot]