spiegel_podman/vendor/go.podman.io/buildah/chroot/unsupported.go
Brent Baude 2e6f29a2df
RUN-4538: Fix buildah vendoring
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>
2026-04-21 14:27:58 -05:00

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")
}