codespaces-nextjs icon indicating copy to clipboard operation
codespaces-nextjs copied to clipboard

Better support for non-x86-64 archs

Open myyk opened this issue 3 years ago • 1 comments

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.

myyk avatar Nov 24 '22 08:11 myyk

You Looks Right myyk

RanaRabees avatar Aug 13 '23 07:08 RanaRabees