Add support for OCI spec annotations (and legacy LABEL)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu với ví dụ LABEL của Dockerfile được tham chiếu và danh sách annotation OCI image-spec được liên kết. Sử dụng json.txt và config.json.zip làm các đầu vào tham chiếu trong khi xác định các entry point của Dockerfile và phần phân tích image trong repository. Công việc được xem là hoàn tất khi các annotation OCI được định nghĩa trước và các giá trị LABEL legacy được nhận diện và báo cáo nhất quán.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
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:
- 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
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aboutcode-org/container-inspector
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
aboutcode-org/container-inspector#59 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
aboutcode-org/container-inspector#34 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
Update intbitsetĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
aboutcode-org/container-inspector#53 · 6 bình luận ·
Tất cả issue của aboutcode-org/container-inspector
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
jejjohnson/gaussx#752 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
521xueweihan/HelloGitHub#4270 ·
-
enhancement owner: den-haag
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 6 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ok-oldking/ok-wuthering-waves#1828 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
lesson-submission pending-review
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
Ikalus1988/MisakaNet#4512 ·
Maintainer thường phản hồi trong vòng 1 ngày