mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00

This adds support for Dockerfile.in and fixes some limits issues on docker build Also adds support for podman build to read Dockerfile from stdin. cat Dockerfile | podman build -f - . Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #1209 Approved by: mheon
16 lines
359 B
Go
16 lines
359 B
Go
// +build !linux
|
|
|
|
package chroot
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/opencontainers/runtime-spec/specs-go"
|
|
"github.com/pkg/errors"
|
|
)
|
|
|
|
// RunUsingChroot is not supported.
|
|
func RunUsingChroot(spec *specs.Spec, bundlePath string, stdin io.Reader, stdout, stderr io.Writer) (err error) {
|
|
return errors.Errorf("--isolation chroot is not supported on this platform")
|
|
}
|