coder / coder/envbuilder

Fallback image on "error: compile devcontainer.json"

Abierto
#469 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
300
Forks
64
Merge medio
20 min
PR fusionados (30 d)
1

Descripción

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!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
docker, go
Área
devops
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.