Skip to content

Upconvert remote schema 1 images #377

@jonjohnsonjr

Description

@jonjohnsonjr

It's not too hard to convert a schema 1 image to a schema 2 image. We can do this whenever we encounter a schema 1 image in remote.Image in order to support pulling older images or pulling from registries that don't support schema 2 yet.

non-goal: Pushing schema 1 images. These are legacy and we shouldn't help keep them alive.

See: GoogleContainerTools/kaniko#509

It's expensive to do this conversion because we have to gunzip and sha256 each layer to compute the DiffIDs. In some cases we can do this lazily. In other cases, doing this expensive conversion is better than nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions