github / github/codespaces-nextjs

Better support for non-x86-64 archs

未關閉
#2 1 則留言 2 個 reaction 已指派 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.

貢獻指南

開啟貢獻指南

研究方向

Inspect the template's devcontainer configuration and the `mcr.microsoft.com/devcontainers/universal:2` image declaration first. Compare it with the linked patch and check whether `devcontainers/typescript-node` provides the needed architecture support without losing existing template requirements. Done means the template works appropriately on non-x86-64 systems and the image choice is documented or validated.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
docker, next.js
領域
devops
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。