github.com/olljanat/moby@v1.13.1/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  }