microsoftgraph / microsoftgraph/msgraph-sdk-powershell
images won't work on ARM architecture CPUs (Mac M3)
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 898
- Fork
- 230
- Merge medio
- 2g 5h
- PR unite (30g)
- 31
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando la definizione dell’immagine Docker del repository e l’immagine di base PowerShell a cui fa riferimento, quindi confrontale con le immagini PowerShell e Azure PowerShell con supporto ARM menzionate nell’issue. Il lavoro è completato quando l’immagine Microsoft Graph PowerShell viene eseguita su host ARM64 e pwsh non termina più con un segmentation fault.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, powershell
- Ambito
- devops, infrastructure
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 20/100