github.com/flavio/docker@v0.1.3-0.20170117145210-f63d1a6eec47/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 "stopsignal":
    10  		return fmt.Errorf("The daemon on this platform does not support the command '%s'", command)
    11  	}
    12  	return nil
    13  }