Open arsenalpoll opened 10 months ago
@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
).
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 likespec
.But I found that only one
Dockerfile
can be used,Dockerfile-a
cannot be used, defining _multibuild has no effectmy example : https://build.opensuse.org/package/show/home:arsenalpoll/multibuild_container