-
Notifications
You must be signed in to change notification settings - Fork 119
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
LABEL container.version --> LABEL dockerfile.version #118
Comments
Could you give an example of how you want this to look? |
IMO semantic versioning isn't necessary here because I don't expect dockerfiles to change much once they are running smoothly and I would like to keep it simple. Happy to hear your thoughts on this. |
* Bootstrap canu 2.1.1 * Fix PATH location * Add canu v2.1.1 to Available Image table * Remove ambiguous 'version' label See #118 for explanation * Update contact info * Abstract canu version to argument * Correct README usage parameter name to match up-to-date software * added MillironX to authors/maintainers list Co-authored-by: Curtis Kapsak <kapsakcj@gmail.com>
The label is correct in the template, right? https://github.com/StaPH-B/docker-builds/blob/master/dockerfile-template/Dockerfile @kapsakcj , do you think we need to add/change labels? |
Yes, the template has the correct LABEL ( The only slight change for the template would be something like this, if multiple people are maintainers or authors of the dockerfile: LABEL maintainer1="Anders Goncalves da Silva"
LABEL maintainer1.email="andersgs@gmail.com"
LABEL maintainer2="Curtis Kapsak"
LABEL maintainer2.email="curtis.kapsak@theiagen.com" |
I want to ensure that each docker image has the recommended labels, so I added a check in #499. I had a difficult time adding wildcards when using docker inspect to look at labels, so I'm going to recommend that the first maintainer is maintainer and the nth maintainer is maintainer$n. So the recommendation would look like this: LABEL maintainer="Anders Goncalves da Silva"
LABEL maintainer.email="andersgs@gmail.com"
LABEL maintainer2="Curtis Kapsak"
LABEL maintainer2.email="curtis.kapsak@theiagen.com" |
I think we can close this issue now. |
LABEL container.version
is super vague. It should beLABEL dockerfile.version
. Intended for tracking multiple versions of a dockerfile for a single program (and it's single version).For example if I had to make adjustments to the SPAdes 3.14.1 dockerfile (for which there is only one dockerfile version currently), I would bump to
LABEL dockerfile.version=2
The text was updated successfully, but these errors were encountered: