Would you be open to adding other tools to the image?
还没有人认领这个 Issue。
评估
调研方向
未指定文件或测试。检查当前的镜像定义,并验证 nightly 工具的安装和发布是如何进行的;然后确定 cargo-deny、cargo-hack 和 cargo-llvm-cov 是否符合有文档记录的纳入政策、版本策略和维护节奏。
由索引模型根据 Issue 内容生成。
描述
Personally, I believe that running cargo install as part of a pipeline is an antipattern - it makes the jobs much longer, for little to no benefit.
That's why I maintain my own image on top of rust which I update as needed.
It would be amazing if popular and powerful crates were added to upstream images. At the moment, I can name three that I would like to see included:
cargo-deny- for auditing dependencies and lintingCargo.tomlcargo-hack- for easy testing of featurescargo-llvm-cov- for coverage
This would be a huge step, and I can see some downsides to this:
- need for regular builds and publishing of at least latest stable version, to keep tools updated (seems to be implemented for nightly?)
- increased burden on maintainers in filtering feature requests what to include and what not to include
- one time: need to set policy on which tools are fine, and which are not
I'm posting this as a general proposal, because from what I can see, the current images only really install the base toolchain and nothing more.
Regarding the policy: one thing I'd explicitly deny is duplicates of existing functionality. So, if cargo-deny makes it, cargo-audit would not get added later on because it adds nothing new. Similarly, sccache (#143) doesn't seem to make sense - most CI runners have their own caching and I'm not sure what it would add on top of that. But the specifics are for later, when you decide if you even want to open up to extra tools.
- 主要语言
- Dockerfile
- 星标
- 540
- 派生
- 110
- 平均合并
- 24 分钟
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rust-lang/docker-rust 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 68/100
rust-lang/docker-rust#159 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 48/100
rust-lang/docker-rust#278 ·
-
难度 5/5 一周以上 新手友好度 30/100
rust-lang/docker-rust#264 ·
-
难度 3/5 1-2 天 新手友好度 52/100
rust-lang/docker-rust#263 ·
-
难度 3/5 1-2 天 新手友好度 35/100
rust-lang/docker-rust#248 · 1 条评论 ·
查看 rust-lang/docker-rust 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
igormcsouza/bookloud#54 ·
-
package-lock.json : les binaires natifs macOS et Linux de unrs-resolver ont disparu depuis #1823未关闭bug dependencies
难度 2/5 1-3 小时 新手友好度 70/100
AxaFrance/design-system#2064 ·
维护者通常 3 天内回复
-
area-ci-cd area-testing p1-recommended
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
mstar-project/mstar#867 ·
维护者通常 1 天内回复
-
backend/daytona backend/docker comp/tools P2 type/bug
难度 1/5 1 小时以内 新手友好度 90/100
NousResearch/hermes-agent#144320 · 1 条评论 ·
维护者通常 1 天内回复