coder / coder/envbuilder

Fallback not working when invalid Dockerfile in coder workspace

Ouverte
#374 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
300
Forks
64
Merge moyen
20 min
PR mergées (30 j)
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
![image](https://github.com/user-attachments/assets/434f9f89-f8d1-4d01-8c49-7c4df05777a7)

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
docker, go, kubernetes
Domaine
build-system, devops
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.