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

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

Open
RenSilvaAU opened this issue Nov 6, 2022 · 1 comment
Open

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

RenSilvaAU opened this issue Nov 6, 2022 · 1 comment

Comments

@RenSilvaAU
Copy link

RenSilvaAU commented Nov 6, 2022

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?

@RenSilvaAU RenSilvaAU changed the title Target-architecture specific build options in **module.json** Target-architecture specific build options in module.json Nov 6, 2022
@konichi3
Copy link
Collaborator

We are adding this to the backlog. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants