Moved the entrypoint argument for the docker builder in front of the image so it's passed correctly as an argument.
This commit is contained in:
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…
Reference in New Issue