-
Notifications
You must be signed in to change notification settings - Fork 76
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
Re-enabling ARM containers as the issue is fixed in .NET 8 IIRC #146
base: main
Are you sure you want to change the base?
Conversation
@@ -1,11 +1,11 @@ | |||
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. | |||
|
|||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base | |||
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS base |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing --platform=$BUILDPLATFORM have made it work for arm64 images. Please see the suggestion here dotnet/dotnet-docker#5041 . I also tried it out by forking your repo and tested it here https://github.com/sarathkrishnamurthy/httpstatus/pull/1/files#diff-bad1646173d8a455b51286df9ee5a0b27991e22036399c8fa71f7d1c9fa4130cR3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @aaronpowell , do we have any update on this?
Fixes #145