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

How to use '_multibuild' like spec when compiling the container #344

Open
arsenalpoll opened this issue Sep 6, 2023 · 2 comments
Open
Labels
content What we build and deliver feature Things that are not possible but should be possible user-guide

Comments

@arsenalpoll
Copy link

I found that when using '.spec' compilation, you can use _multibuild to define multiple compilations

Example: aa.spec bb.spec cc.spec

Now I have the same requirement for docker build, I want to use Dockerfile-a Dockerfile-b Dockerfile-c to multibuild like spec.

But I found that only one Dockerfile can be used, Dockerfile-a cannot be used, defining _multibuild has no effect

my example : https://build.opensuse.org/package/show/home:arsenalpoll/multibuild_container

@kkaempf
Copy link
Member

kkaempf commented Oct 10, 2023

@anmazzotti
Copy link

anmazzotti commented Jun 5, 2024

@arsenalpoll a bit late, but there's an example you may find useful: https://build.opensuse.org/package/show/isv:Rancher:Elemental:Dev/elemental-channel

The caveat is that all the Dockerfiles need to be extracted (in _service), and they must follow the Dockerfile.FLAVOR naming convention (from _multibuild).

@hennevogel hennevogel transferred this issue from openSUSE/open-build-service Jun 5, 2024
@kkaempf kkaempf closed this as completed Jun 5, 2024
@hennevogel hennevogel reopened this Jun 5, 2024
@hennevogel hennevogel added feature Things that are not possible but should be possible content What we build and deliver user-guide labels Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content What we build and deliver feature Things that are not possible but should be possible user-guide
Projects
Development

No branches or pull requests

4 participants