Expose `label` instruction in `docker.file`
tas50 opened this issue · comments
Tim Smith commented
Describe the bug
The label
instruction is important for writing best practices policies. For example our best practices policy should check that no label starts with org.label-schema
as these have been replaced with org.opencontainers.image
labels.
Exposing each k/v pair would allow us to write checks against the content of labels like this.