Fallback not working when invalid Dockerfile in coder workspace
- Dominant language
- Go
- Stars
- 300
- Forks
- 64
- Avg merge
- 20m
- Merged PRs (30d)
- 1
Description
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


Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure with the attached template in a coder Kubernetes workspace, changing the Dockerfile to begin with INVALID before restarting. Trace envbuilder's Dockerfile failure handling and fallback-image selection. Done means the invalid Dockerfile failure is detected and the workspace reverts to the fallback image.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, kubernetes
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100