From 0151e10b627fbfb82b7d633f3fc9703678ed4eaf Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Thu, 6 Jan 2022 14:50:12 +0100 Subject: update buildah to latest and use new network stack Make sure buildah uses the new network stack. Signed-off-by: Paul Holzinger --- libpod/runtime_img.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpod') diff --git a/libpod/runtime_img.go b/libpod/runtime_img.go index bf0fc4585..83d4af9ba 100644 --- a/libpod/runtime_img.go +++ b/libpod/runtime_img.go @@ -96,6 +96,8 @@ func (r *Runtime) Build(ctx context.Context, options buildahDefine.BuildOptions, if options.Runtime == "" { options.Runtime = r.GetOCIRuntimePath() } + // share the network interface between podman and buildah + options.NetworkInterface = r.network id, ref, err := imagebuildah.BuildDockerfiles(ctx, r.store, options, dockerfiles...) // Write event for build completion r.newImageBuildCompleteEvent(id) -- cgit v1.2.3-54-g00ecf