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:
Ali Rizvi-Santiago 2018-12-04 23:52:17 -06:00
parent 310ea6c006
commit 2e977019e4
1 changed files with 1 additions and 1 deletions

View File

@ -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