mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-28 20:41:21 -05:00
Merge pull request #7091 from arizvisa/GH-6920
Proper fix to #6920 which ensures that entrypoint and arguments get passed to docker, not the image.
This commit is contained in:
commit
d367c1ba8b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue