Files
podman/vendor/github.com/containers/buildah/chroot/unsupported.go
Paul Holzinger eb28a1c084 update buildah and c/common to latest
also includes bumps for c/storage and c/image

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-09-09 11:58:20 +02:00

17 lines
386 B
Go

//go:build !linux && !freebsd
// +build !linux,!freebsd
package chroot
import (
"fmt"
"io"
"github.com/opencontainers/runtime-spec/specs-go"
)
// RunUsingChroot is not supported.
func RunUsingChroot(spec *specs.Spec, bundlePath, homeDir string, stdin io.Reader, stdout, stderr io.Writer) (err error) {
return fmt.Errorf("--isolation chroot is not supported on this platform")
}