mirror of
https://github.com/containers/podman.git
synced 2025-12-06 05:37:49 +08:00
Bumps Buildah to v1.24.0 and adopts the new values for pull: true, false, never, and always. The pull-never and pull-always options for the build command are still usable, but they have been removed from the man page documentation with this change. Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
23 lines
639 B
Go
23 lines
639 B
Go
package config
|
|
|
|
// getDefaultImage returns the default machine image stream
|
|
// On Windows this refers to the Fedora major release number
|
|
func getDefaultMachineImage() string {
|
|
return "35"
|
|
}
|
|
|
|
// getDefaultMachineUser returns the user to use for rootless podman
|
|
func getDefaultMachineUser() string {
|
|
return "user"
|
|
}
|
|
|
|
// isCgroup2UnifiedMode returns whether we are running in cgroup2 mode.
|
|
func isCgroup2UnifiedMode() (isUnified bool, isUnifiedErr error) {
|
|
return false, nil
|
|
}
|
|
|
|
// getDefaultProcessLimits returns the nofile and nproc for the current process in ulimits format
|
|
func getDefaultProcessLimits() []string {
|
|
return []string{}
|
|
}
|