GoogleContainerTools / GoogleContainerTools/jib

Automatically add standard oci annotations for base images

Open
#4,218 1 comment 12 reactions 0 assignees View on GitHub
priority: p3 type: feature request
Dominant language
Java
Stars
14.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

**Environment**:

- *Jib version:* 0.12.0
- *Build tool:* jib-cli
- *OS:* linux

**Description of the issue**:

There are 2 standard annotations for base images defined by the oci image-spec. It would be nice if jib-cli could add those automatically since the tools should have all the requried informations during the build.

Other build tools like podman/buildah already add those annotations by default.

https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys

**Expected behavior**:

jib-cli should add these 2 annotations automatically :
- `org.opencontainers.image.base.digest`
- `org.opencontainers.image.base.name`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.