coder / coder/envbuilder

envbuilder: use container entrypoint if ENVBUILDER_INIT_SCRIPT is not set

Abierto
#351 1 comentario 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

By default, envbuilder runs `/bin/sh -c sleep infinity` as the entrypoint.
This behaviour can be surprising, so we should default to the entrypoint defined in the container if `ENVBUILDER_INIT_SCRIPT` / `ENVBUILDER_INIT_COMMAND` are not set.

Guía de contribución

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

Línea de trabajo

Start by locating the handling of ENVBUILDER_INIT_SCRIPT and ENVBUILDER_INIT_COMMAND, then trace where the default `/bin/sh -c sleep infinity` entrypoint is selected. Verify that the container-defined entrypoint is used when both variables are unset, while the existing environment-variable overrides still work.

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

Evaluación

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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.