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.

贡献指南

打开贡献指南

调研方向

首先检查模板的 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 摘要。