Avoid upgrading base OS image during the life of a major version of Node.js
未关闭
还没有人认领这个 Issue。
strategy
- 主要语言
- Dockerfile
- 星标
- 8.6k
- 派生
- 2k
- 平均合并
- 10 小时 19 分钟
- 30 天内合并 PR
- 16
描述
Problem
The update of the base OS image used for node:18 from Debian 11 to 12 has caused issues for various people:
- https://github.com/nodejs/node/issues/43064#issuecomment-1591237820 (last comments)
- https://github.com/nodejs/docker-node/issues/1916
- https://github.com/nodejs/build/issues/3382
Solution
Keep the same base OS image during the entire life of any major version of Node.js and only upgrade it for future major versions.
Alternatives to Consider
Teach the community to specify the name of the base OS in their Dockerfiles, but I'm afraid it's too late for that. I don't remember seeing any documentation that recommends to do it.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定文件、测试或入口点。首先定位 node:18 的 Docker 镜像构建和发布配置,然后追踪在各个主版本发布之间如何选择基础操作系统。完成的标准是:对于某个 Node.js 主版本,基础操作系统保持不变,同时未来的主版本可以采用更新的镜像。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, node.js
- 领域
- devops
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100