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!
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!