Skip to content

Conversation

@aaronpowell
Copy link
Owner

Fixes #145

#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

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

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can we get ARM64 based docker image?

3 participants