Skip to content

[Enhancement]: Add the ability to specify an image's platform. #7312

Description

@shawjef3

Module

Core

Proposal

It's possible to specify the platform for a container by using GenericContainer#withCreateContainerCmdModifier.
However, it's not possible to do the same when creating an image, and so it's
not possible to both create and test an image for a platform.

Add ImageFromDockerfile#withBuildImageCmdModifier which will make this possible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions