github / github/codespaces-nextjs

Better support for non-x86-64 archs

オープン
#2 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
152
フォーク
210
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、テンプレートの devcontainer 設定と、`mcr.microsoft.com/devcontainers/universal:2` イメージの宣言を確認してください。リンクされたパッチと比較し、`devcontainers/typescript-node` がテンプレートの既存要件を失うことなく必要なアーキテクチャサポートを提供するか確認してください。テンプレートが x86-64 以外のシステムで適切に動作し、イメージの選択が文書化または検証されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, next.js
領域
devops
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。