msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

images won't work on ARM architecture CPUs (Mac M3)

Open lesca opened this issue 10 months ago • 0 comments

Is your feature request related to a problem? Please describe the problem.

Hello,

Please consider to support to run on arm cpus, like Mac M3 / M4 ...

Currently, it refuses to run:

$ docker run --rm -it mcr.microsoft.com/microsoftgraph/powershell
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

However, I can run bash with the image, but if I run pwsh it fails with Segmentation fault

$ docker run --platform linux/amd64 --rm -it mcr.microsoft.com/microsoftgraph/powershell bash                                                                     
root@d960df434419:/# pwsh
PowerShell 7.4.2
Segmentation fault
root@d960df434419:/# pwsh-preview
PowerShell 7.4.2
Segmentation fault

I noticed this issue 1920 metioned the base powershell image doesn't support for arm. However, it now support - https://mcr.microsoft.com/en-us/artifact/mar/powershell

Describe the solution you'd like.

Please add arm support!!!

Additional context?

And FYI - The Azure powershell module works well on my mac: https://mcr.microsoft.com/en-us/artifact/mar/azure-powershell/about

lesca avatar Jan 14 '25 10:01 lesca