github / github/codespaces-nextjs

Better support for non-x86-64 archs

Offen
#2 1 Kommentar 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
152
Forks
210
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Firstly, thanks for this awesome template! I'm pretty new to Next, so I'm sorry if this isn't a very good issue.

I believe that the `mcr.microsoft.com/devcontainers/universal:2` image used in this template is only built for `x86-64` arch according to https://github.com/microsoft/vscode-dev-containers/tree/main/containers/codespaces-linux. I'm guessing this is going to run into many performance issues for `amd64` users like me on Apple silicon.

I found a simple change like this seems to at least work enough for a template: https://github.com/github/codespaces-nextjs/compare/main...myyk:codespaces-nextjs:patch-1 (pls excused the misleading comment on it and the bad formatting)

I don't know if there are other reasons why `devcontainers/universal` was used instead of `devcontainers/typescript-node` though.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Untersuche zuerst die devcontainer-Konfiguration des Templates und die Deklaration des Images `mcr.microsoft.com/devcontainers/universal:2`. Vergleiche sie mit dem verlinkten Patch und prüfe, ob `devcontainers/typescript-node` die benötigte Architekturunterstützung bietet, ohne bestehende Anforderungen des Templates zu verlieren. Als erledigt gilt die Aufgabe, wenn das Template auf Nicht-x86-64-Systemen angemessen funktioniert und die Image-Auswahl dokumentiert oder validiert ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
docker, next.js
Bereich
devops
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.