Docker build seems to overweighted and not performant for storage/build

未关闭
#2,666 1 条评论 6 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
docker, go
领域
build-system

调研方向

The issue does not identify files, tests, or an implementation entry point. Start by reading the project’s Docker build and cache documentation, then locate the container build path and its tests. The requested outcome is smaller, faster OCI image builds with better cache reuse, but the issue does not define measurable acceptance criteria.

由索引模型根据 Issue 内容生成。

描述

feature looks hard p3 processed triage
What problem are you trying to solve?

Im in love with this proyect, seems it fixed a problem i didn't know i had but is one of the best solutions I've found. The only problem i've found is trying to use this for pipelines and oci containers. They are veeeeery slow to generate, even when i dont have that many packages, and they are very bulky

What solution would you like?

i dont know how to reduce the size, but i would love it to at least be more efficient when building and rehusing cache. so i've found a similar proyect that is called flox, which seems better at doing this. instead of generating a single docker layer, it generates one layer per package, that in many cases helps a lot when reinstalling and pushing to regisitries, because it has the same hash layer. Also it can therefore also skip reinstalling packages with the same previos version. Flox attempts to solve same issues as here, but the usability of devbox and the similarity to node packages.json is much more readeable and efficient to write and to help new users to be confortable with devbox. what do you think?

Alternatives you've considered

No response

主要语言
Go
星标
12.4k
派生
358
平均合并
16 小时 9 分钟
30 天内合并 PR
31

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

jetify-com/devbox 的其他 Issue

查看 jetify-com/devbox 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。