GoogleContainerTools / jib

🏗 Build container images for your Java applications.
Apache License 2.0
13.52k stars 1.42k forks source link

Automatically add standard oci annotations for base images #4218

Open meier-christoph opened 4 months ago

meier-christoph commented 4 months ago

Environment:

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 :