21 lines
486 B
Go
21 lines
486 B
Go
|
// +build !linux
|
||
|
|
||
|
package buildah
|
||
|
|
||
|
import (
|
||
|
"github.com/pkg/errors"
|
||
|
)
|
||
|
|
||
|
func setChildProcess() error {
|
||
|
return errors.New("function not supported on non-linux systems")
|
||
|
}
|
||
|
|
||
|
func runUsingRuntimeMain() {}
|
||
|
|
||
|
func (b *Builder) Run(command []string, options RunOptions) error {
|
||
|
return errors.New("function not supported on non-linux systems")
|
||
|
}
|
||
|
func DefaultNamespaceOptions() (NamespaceOptions, error) {
|
||
|
return NamespaceOptions{}, errors.New("function not supported on non-linux systems")
|
||
|
}
|