devcontainers / devcontainers/cli

Adding labels to containers build by devcontainer cli that are based on a Dockerfile (instead of an image) does not work

Abierto
#930 2 comentarios 5 reacciones 1 asignado Reclamado por @chrmarti Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
3k
Forks
457
Merge medio
13 h 17 min
PR fusionados (30 d)
6

Descripción

A few months ago, the `--label` property to `build` was added that adds labels (https://github.com/devcontainers/cli/pull/846). Unfortunately it seems that this only works when a devcontainer is build that is based directly from an `image`. If it is based from a `Dockerfile`, the labels from `--label` are not added.
I added a test in a PR that shows the problem, see here: https://github.com/devcontainers/cli/pull/929

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.