github.com/vieux/docker@v0.6.3-0.20161004191708-e097c2a938c7/builder/dockerfile/evaluator_windows.go (about)

     1  package dockerfile
     2  
     3  import "fmt"
     4  
     5  // platformSupports is gives users a quality error message if a Dockerfile uses
     6  // a command not supported on the platform.
     7  func platformSupports(command string) error {
     8  	switch command {
     9  	case "user", "stopsignal":
    10  		return fmt.Errorf("The daemon on this platform does not support the command '%s'", command)
    11  	}
    12  	return nil
    13  }