Skip to content

Validation of lifecycle image os/arch should be more flexible #2163

@natalieparellano

Description

@natalieparellano

Description

Right now, we hard code the supported lifecycle os/arch combinations. #2086 will expand the list of supported architectures (search for SupportedLinuxArchitecture) to include ppc64le and s390x as the lifecycle now supports those. However, this is brittle, and it will be annoying to have to modify pack every time the lifecycle supports a new architecture. We should read the lifecycle image (buildpacksio/lifecycle) manifest list to determine the supported architectures.

Additionally, when the requested architecture is not found, we currently just fall back to linux/amd64 which seems sub-optimal. #2086 adds a warning but we should probably turn this into an error case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedNeed some extra hands to get this done.status/readyIssue ready to be worked on.type/choreIssue that requests non-user facing changes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions