Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use OCI manifest format for images from scratch #2013

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Silvanoc
Copy link

@Silvanoc Silvanoc commented Sep 19, 2024

Images built from scratch where still using the outdated Docker v2 image format (recognizable in the mediaType application/vnd.docker.distribution.manifest.v2+json). This patch replaces that outdate format with the current one based in the OCI standard (marked by the mediaType application/vnd.oci.image.manifest.v1+json).

A 7-months old statement from Docker stating

The v1 file layout and manifests are no longer used in Moby and Docker, except in docker save and docker load.

I suppose the CLA I needed for an older Kaniko contribution is also valid for this one.

Fixes #2012

Images built from scratch where still using the outdated Docker v2 image
format (recognizable in the mediaType `application/vnd.docker.distribution.manifest.v2+json`).
This patch replaces that outdate format with the current one based in
the OCI standard (marked by the mediaType `application/vnd.oci.image.manifest.v1+json`).

Signed-off-by: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant