mirror of https://github.com/containers/podman.git
libpod: pass down NoPivotRoot to Buildah
Closes: https://github.com/containers/podman/issues/24546 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
d59794992f
commit
e60e11167e
|
@ -120,6 +120,8 @@ func (r *Runtime) Build(ctx context.Context, options buildahDefine.BuildOptions,
|
|||
if options.Runtime == "" {
|
||||
options.Runtime = r.GetOCIRuntimePath()
|
||||
}
|
||||
options.NoPivotRoot = r.config.Engine.NoPivotRoot
|
||||
|
||||
// share the network interface between podman and buildah
|
||||
options.NetworkInterface = r.network
|
||||
id, ref, err := imagebuildah.BuildDockerfiles(ctx, r.store, options, dockerfiles...)
|
||||
|
|
Loading…
Reference in New Issue