Moved the entrypoint argument for the docker builder in front of the image so it's passed correctly as an argument.

pull/7091/head
Ali Rizvi-Santiago 8 years ago
parent 2e977019e4
commit a6af04417e

@ -73,7 +73,7 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) {
// Defaults
if len(c.RunCommand) == 0 {
c.RunCommand = []string{"-d", "-i", "-t", "{{.Image}}", "--entrypoint=/bin/sh"}
c.RunCommand = []string{"-d", "-i", "-t", "--entrypoint=/bin/sh", "--", "{{.Image}}"}
}
// Default Pull if it wasn't set

Loading…
Cancel
Save