Fallback image on "error: compile devcontainer.json"
- Dominant language
- Go
- Stars
- 300
- Forks
- 64
- Avg merge
- 20m
- Merged PRs (30d)
- 1
Description
I accidentally broke my devcontainer, which gives this error and a crashloop:
```
error: compile devcontainer.json: user from dockerfile: parse image ref "python:$PY_VERSION": could not parse reference: python:$PY_VERSION
```
I know this is #455 but it would be nice if it just used the fallback_image if the devcontainer doesn't compile. That way I can edit the devcontainer in coder and don't have to go into the pod manually or edit it on the github website.
Thanks y'all!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the devcontainer compilation error path and the existing fallback_image handling. Reproduce the malformed python:$PY_VERSION case, then verify that a compile failure launches the fallback image and leaves the environment usable for editing in Coder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100