Full Image Cache instantly completes
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- docker, go, kubernetes
调研方向
从 envbuilder.log 开始,使用完整的镜像缓存复现 Dockerfile 加 config-file 流程,并将 cache-hit 启动与使用缓存镜像的手动 pod 进行比较。跟踪完整镜像发生 cache-hit 后 envbuilder 二进制文件的 entrypoint 行为。完成的标准是,缓存镜像会运行其 entrypoint 和所有 Dockerfile RUN 命令,而不是立即完成。
由索引模型根据 Issue 内容生成。
描述
We are running envbuilder to compile an image from a dockerfile and the config file.
Run without caching everything works as expected its just slow
Run with a cache repo, it creates the image, pushes the image and runs correctly ONCE.
Subsequent launches with the cache enabled will do the usual file extractions and start the image but the layers will not be correct, some of the run commands seemed to not have executed. For example a simple rm in a run command either did not run or the files were recreated by the base layer.
Run with full image caching the image gets a dry run and found in the cache (as long as i did it once with the layer cache)
Unfortunately the image immediately completes after that and the pod gets restarted by the deployment.
When i manually create a pod with the image from the cache repo it works, the envbuilder binary exists and all run commands got executed correctly.
Heres the log, everything looks perfectly fine if only it would execute the entrypoint properly
envbuilder.log
- 主要语言
- Go
- 星标
- 300
- 派生
- 64
- 平均合并
- 20 分钟
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/envbuilder 的其他 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 90/100
coder/envbuilder#506 ·
-
envbuilder Feature
难度 3/5 1-2 天 新手友好度 56/100
coder/envbuilder#492 ·
-
难度 4/5 3-5 天 新手友好度 25/100
coder/envbuilder#484 ·
-
难度 3/5 1-2 天 新手友好度 38/100
coder/envbuilder#483 ·
-
难度 4/5 3-5 天 新手友好度 38/100
coder/envbuilder#481 · 1 条评论 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
crossplane/crossplane#7859 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
bazel-contrib/rules_go#4721 · 2 条评论 ·
-
needs-triage
难度 1/5 1 小时以内 新手友好度 92/100
-
bug carvel-triage
难度 2/5 1-3 小时 新手友好度 88/100
carvel-dev/kapp-controller#1861 ·
-
area/logging kind/bug
难度 2/5 1-3 小时 新手友好度 86/100