coder / coder/envbuilder

Fallback not working when invalid Dockerfile in coder workspace

Abierto
#374 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
300
Forks
64
Merge medio
20 min
PR fusionados (30 d)
1

Descripción

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
![image](https://github.com/user-attachments/assets/434f9f89-f8d1-4d01-8c49-7c4df05777a7)

![image](https://github.com/user-attachments/assets/1425d78b-51cd-4e10-bbee-1c966358df13)

Guía de contribución

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

Línea de trabajo

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.

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

Evaluación

Stack tecnológico
docker, go, kubernetes
Área
build-system, devops
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 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.