mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-21 14:20:23 -04:00
9 lines
217 B
Go
9 lines
217 B
Go
package dockerfile // import "github.com/docker/docker/builder/dockerfile"
|
|
|
|
func defaultShellForOS(os string) []string {
|
|
if os == "linux" {
|
|
return []string{"/bin/sh", "-c"}
|
|
}
|
|
return []string{"cmd", "/S", "/C"}
|
|
}
|