openschemas / extractor-container

module to extract metadata for containers, distributions, and recipe files
0 stars 0 forks source link

Features for ContainerRecipe #1

Open vsoch opened 6 years ago

vsoch commented 6 years ago

A Container Recipe (Dockerfile, Singularity recipe, or similar build file) is described within each technology (but afaik not for OCI?) and we would want to discuss what attributes are important to have in the specification. @roscopecoltran is starting discussion of the extractor here

https://github.com/vsoch/dockerfiles/issues/4#issuecomment-423069695

And so far it's clear that we need brands and keywords, and I suspect some attributes of the recipe itself (higher level). Here is a list to get us started:

See links in the linked issue for different software to try, and I suggested using datalad as a mechanism to extract and put into schema.org spec.

vsoch commented 6 years ago

Once the specification gets feedback, we can create validation criteria (run during the extraction) almost verbatim based on OCI! The required / type sets are very clearly stated --> https://github.com/opencontainers/image-spec/blob/master/spec.md