mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 00:15:44 +00:00
This PR reflects the upstream change of moving the buildah module from github.com/containers/buildah to go.podman.io/buildah. Signed-off-by: Brent Baude <bbaude@redhat.com>
15 lines
360 B
Go
15 lines
360 B
Go
//go: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")
|
|
}
|