mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
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:
@ -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...)
|
||||
|
Reference in New Issue
Block a user