Skip to content

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

Open

Description

@Roemer

A few months ago, the --label property to build was added that adds labels (#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: #929

Activity

  1. added
    bug
    on Dec 17, 2024
  2. chrmarti commented on Dec 17, 2024

    @chrmarti
    Contributor

    Commented on the PR.

  3. jmcombs commented on May 7, 2025

    @jmcombs

    Is there a workaround for this, at the moment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions