templates publish should support aarch64
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- docker, typescript
- 领域
- build-system, cli, devops
调研方向
从 devcontainers action 在发布所有模板时调用的 devcontainers CLI 路径开始。查看链接的 devcontainers/images 构建指南和 manifest-list 文档,然后确定发布应如何生成 aarch64 和 amd64 两种镜像;完成的标准是已发布的模板在多架构 manifest 中提供这两个平台。
由索引模型根据 Issue 内容生成。
描述
I use the devcontainers action which calls the devcontainers cli to publish all templates at once. I want to support multiple platforms (aarch64 and amd64).
I might follow https://github.com/devcontainers/images/tree/main/build#build-and-image-generation-for-devcontainers but it looks like a PITA
Some basic research
Create a Manifest List?
dotnet:dev-8.0-noble
elijahlopez@Elijahs-MacBook-Air ~ % docker manifest inspect mcr.microsoft.com/devcontainers/dotnet:dev-8.0-noble
{
"schemaVersion": 2,
"mediaType": "application/vnd.oci.image.index.v1+json",
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"size": 3539,
"digest": "sha256:299d0161335b3bc467ee75adf5320ba0a445ca1d7889da4e7501b131874e1938",
"platform": {
"architecture": "amd64",
"os": "linux"
}
},
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"size": 3539,
"digest": "sha256:62420e64f8017becb09e900c600289aa2891e5eb74e20b59cdc0b03be7fd0f6f",
"platform": {
"architecture": "arm64",
"os": "linux"
}
},
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"size": 566,
"digest": "sha256:cfd659bb481152e24aa8b94536ccb958b4f11ef6e7dd835da07650ae0e1f465a",
"platform": {
"architecture": "unknown",
"os": "unknown"
}
},
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"size": 566,
"digest": "sha256:731eb3afb5f172ba96e84f3943baece9836b3baee5a46d64b1b49622a36c9206",
"platform": {
"architecture": "unknown",
"os": "unknown"
}
}
]
}
- 主要语言
- TypeScript
- 星标
- 3k
- 派生
- 461
- 平均合并
- 18 分钟
- 30 天内合并 PR
- 5
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
devcontainers/cli 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
devcontainers/cli#1203 ·
-
难度 1/5 1-3 小时 新手友好度 68/100
devcontainers/cli#1178 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
devcontainers/cli#1308 ·
-
难度 3/5 1-2 天 新手友好度 78/100
devcontainers/cli#1307 ·
-
难度 4/5 3-5 天 新手友好度 55/100
devcontainers/cli#1305 ·
查看 devcontainers/cli 的全部 Issue
相似的 Issue
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 85/100
-
Mend: dependency security vulnerability untriaged
难度 2/5 1-3 小时 新手友好度 70/100