update buildah to latest and use new network stack

Make sure buildah uses the new network stack.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2022-01-06 14:50:12 +01:00
parent 495884b319
commit 0151e10b62
77 changed files with 2786 additions and 1122 deletions

View File

@@ -83,6 +83,11 @@ func importBuilderDataFromImage(ctx context.Context, store storage.Store, system
return nil, err
}
netInt, err := getNetworkInterface(store, "", "")
if err != nil {
return nil, err
}
builder := &Builder{
store: store,
Type: containerType,
@@ -100,6 +105,7 @@ func importBuilderDataFromImage(ctx context.Context, store storage.Store, system
UIDMap: uidmap,
GIDMap: gidmap,
},
NetworkInterface: netInt,
}
if err := builder.initConfig(ctx, image, systemContext); err != nil {