github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/builder/dockerfile/builder_windows.go (about)

     1  package dockerfile // import "github.com/demonoid81/moby/builder/dockerfile"
     2  
     3  func defaultShellForOS(os string) []string {
     4  	if os == "linux" {
     5  		return []string{"/bin/sh", "-c"}
     6  	}
     7  	return []string{"cmd", "/S", "/C"}
     8  }