Skip to content

Add common Labels to Dockerfile buildpack #1518

Description

@minrk

Proposed change

We should add our common Labels which identify repo2docker version, repo, ref, etc. to images built with the DockerBuildPack.

Alternative options

Don't do this, leave Dockerfile builds completely untouched.

Who would use this feature?

Folks looking at image metadata, particularly on registries (I want to do this to extract info from our mybinder.org registries).

How much effort will adding it take?

Not much. We need to find the labels we create in the base Dockerfile template, and append it to the Dockerfile we get in DockerfileBuildPack.render. Precisely how to make it re-used rather than copied is perhaps the trickiest bit.

Who can do this work?

Anyone!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions