github / github/codespaces-nextjs

Better support for non-x86-64 archs

Đang mở
#2 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
152
Fork
210
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Trước tiên, hãy kiểm tra cấu hình devcontainer của template và khai báo image `mcr.microsoft.com/devcontainers/universal:2`. So sánh với patch được liên kết và kiểm tra xem `devcontainers/typescript-node` có cung cấp hỗ trợ kiến trúc cần thiết mà không làm mất các yêu cầu hiện có của template hay không. Được xem là hoàn tất khi template hoạt động phù hợp trên các hệ thống không phải x86-64 và lựa chọn image đã được ghi lại hoặc xác thực.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
docker, next.js
Lĩnh vực
devops
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.