When trying to deploy the container stuff in production, we found
that it blows up when running in an infra openshift container
because the security policy prevents creation of a user namespace,
which buildah does even for operations like 'login', 'manifest
create' and 'manifest push'. To solve that, this removes all use
of buildah. We construct the multi-arch manifest ourselves using
code adapted from koji_flatpak (thanks Owen Taylor). We publish
it with skopeo, not buildah. And we use skopeo inspect --raw
instead of buildah inspect in the missing arch detection.
When trying to deploy the container stuff in production, we found
that it blows up when running in an infra openshift container
because the security policy prevents creation of a user namespace,
which buildah does even for operations like 'login', 'manifest
create' and 'manifest push'. To solve that, this removes all use
of buildah. We construct the multi-arch manifest ourselves using
code adapted from koji_flatpak (thanks Owen Taylor). We publish
it with skopeo, not buildah. And we use skopeo inspect --raw
instead of buildah inspect in the missing arch detection.
Signed-off-by: Adam Williamson awilliam@redhat.com