Fallback not working when invalid Dockerfile in coder workspace
- 主要语言
- Go
- 星标
- 300
- 派生
- 64
- 平均合并
- 20 分钟
- 30 天内合并 PR
- 1
描述
When I use devcontainer in coder (kubernetes) from this template:
[template_workspace_coder.txt](https://github.com/user-attachments/files/17175483/template_workspace_coder.txt)
And change the Dockerfile to this and restart:
Dockerfile:
INVALID
FROM qmcgaw/godevcontainer
Then envbuilder is not detecting the failure and is not reverting to the fallback image


贡献指南
这个仓库没有索引到贡献指南
调研方向
在 coder Kubernetes workspace 中使用附加的模板重现失败,将 Dockerfile 修改为在重启前以 INVALID 开头。跟踪 envbuilder 对 Dockerfile 失败的处理以及 fallback image 的选择。当检测到无效 Dockerfile 导致的失败,并且 workspace 恢复为 fallback image 时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, go, kubernetes
- 领域
- build-system, devops
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100