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:
Ali Rizvi-Santiago 2018-12-10 15:07:50 -06:00
parent 2e977019e4
commit a6af04417e
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}}", "--entrypoint=/bin/sh"}
c.RunCommand = []string{"-d", "-i", "-t", "--entrypoint=/bin/sh", "--", "{{.Image}}"}
}
// Default Pull if it wasn't set