devcontainers / devcontainers/cli

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

Đang mở
#930 2 bình luận 5 reaction 1 người được giao Được @chrmarti nhận Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
3k
Fork
457
Merge trung bình
13 giờ 17 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.