Skip to content

Target-architecture specific build options in module.json #648

@RenSilvaAU

Description

@RenSilvaAU

I would like to know if the existing schema supports different build-options, depending the target architecture.

More specifically, I would like to be able to have something like this:

      "tag": {
          "version": "0.1",
          "platforms": {
              "amd64": "./Dockerfile.amd64",
              "arm64": "./Dockerfile.arm64"
          }
      },
      "buildOptions":
          "platforms": {
              "amd64": ["--platform","linux/amd64"],
              "arm64": ["--platform","linux/arm64","--load"]
          },

I know this is not possible at the moment.

Is there any way to address these requirements?

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