Modified the docker builder's default run_command to specify the shell via the entrypoint command line argument as suggested by @vrubiolo in #6920.
This commit is contained in:
parent
310ea6c006
commit
2e977019e4
|
@ -73,7 +73,7 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) {
|
|||
|
||||
// Defaults
|
||||
if len(c.RunCommand) == 0 {
|
||||
c.RunCommand = []string{"-d", "-i", "-t", "{{.Image}}", "/bin/sh"}
|
||||
c.RunCommand = []string{"-d", "-i", "-t", "{{.Image}}", "--entrypoint=/bin/sh"}
|
||||
}
|
||||
|
||||
// Default Pull if it wasn't set
|
||||
|
|
Loading…
Reference in New Issue