aboutcode-org / aboutcode-org/container-inspector

Add support for OCI spec annotations (and legacy LABEL)

Đang mở
#24 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
38
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

These can be added as LABEL from a Dockerfile https://github.com/Tekki/docker-perl-test/blob/e52c397f9daf04ca89c416b76b610da5ae1cc15a/p16/Dockerfile#L24 and were initially specified in http://label-schema.org/rc1/ and are now specified at https://github.com/opencontainers/image-spec/blob/master/annotations.md

Some key/values are predefined:
https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys :

* org.opencontainers.image.created: date/timestamp
* org.opencontainers.image.authors: contact details of the people or organization responsible for the image (freeform string)
* org.opencontainers.image.url: homepage URL
* org.opencontainers.image.documentation: documentation URL
* org.opencontainers.image.source: VCS/download URL
* org.opencontainers.image.version: version ideally semver and mapped to a VCS repo tag
* org.opencontainers.image.revision: VCS revision e.g. git commit in org.opencontainers.image.source
* org.opencontainers.image.vendor: author (e.g. created_by)
* org.opencontainers.image.licenses: Should be an SPDX License Expression
* org.opencontainers.image.ref.name: unclear... "Name of the reference for a target"
* org.opencontainers.image.title: brief summary or "name" of the image?
* org.opencontainers.image.description: long description

These are some examples:
- [json.txt](https://github.com/nexB/container-inspector/files/5364765/json.txt)
- [config.json.zip](https://github.com/nexB/container-inspector/files/5364766/config.json.zip)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.