-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enforce Dockerfile labels with lint #102
Comments
"Often"? For example?
I wouldn't consider the label-schema.org stuff to be widely accepted or a standard. I'd describe it as something that was started started, that didn't get wide adoption, and that people have now moved on from. For instance, there are only 11 threads on its email list[1], these tags aren't "supported" in anyway by the docker hub, and there are only 1.2k images using them[2]. [1] https://groups.google.com/forum/#!forum/label-schema I much prefer the naming convention approach to solving this problem. |
Examples:
A naming convention could work, but the issue is that we have several:
At the very least. |
Suggested minimum useful set of labels:
Where |
@marccarre has been working on https://github.com/weaveworks-experiments/imagediff to help with this process. |
We often have the problem that we don't know where the source code for an image lives.
There's a more-or-less standard way of providing this information, using Docker labels. We should do that.
e.g. https://github.com/weaveworks/weave/blob/master/prog/weaver/Dockerfile.template#L7-L13
The text was updated successfully, but these errors were encountered: