mirror of
https://github.com/containers/podman.git
synced 2025-12-01 18:49:18 +08:00
Bump github.com/containers/buildah from 1.24.1 to 1.24.2
Bumps [github.com/containers/buildah](https://github.com/containers/buildah) from 1.24.1 to 1.24.2. - [Release notes](https://github.com/containers/buildah/releases) - [Changelog](https://github.com/containers/buildah/blob/main/CHANGELOG.md) - [Commits](https://github.com/containers/buildah/compare/v1.24.1...v1.24.2) --- updated-dependencies: - dependency-name: github.com/containers/buildah dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
8
vendor/github.com/containers/buildah/run_linux.go
generated
vendored
8
vendor/github.com/containers/buildah/run_linux.go
generated
vendored
@@ -1,3 +1,4 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package buildah
|
||||
@@ -874,9 +875,14 @@ func runUsingRuntime(options RunOptions, configureNetwork bool, moreCreateArgs [
|
||||
}
|
||||
}
|
||||
|
||||
runtimeArgs := options.Args[:]
|
||||
if options.CgroupManager == config.SystemdCgroupsManager {
|
||||
runtimeArgs = append(runtimeArgs, "--systemd-cgroup")
|
||||
}
|
||||
|
||||
// Build the commands that we'll execute.
|
||||
pidFile := filepath.Join(bundlePath, "pid")
|
||||
args := append(append(append(options.Args, "create", "--bundle", bundlePath, "--pid-file", pidFile), moreCreateArgs...), containerName)
|
||||
args := append(append(append(runtimeArgs, "create", "--bundle", bundlePath, "--pid-file", pidFile), moreCreateArgs...), containerName)
|
||||
create := exec.Command(runtime, args...)
|
||||
create.Dir = bundlePath
|
||||
stdin, stdout, stderr := getCreateStdio()
|
||||
|
||||
Reference in New Issue
Block a user