diff --git a/builder/docker/config.go b/builder/docker/config.go index c7fb438e4..045bf19b8 100644 --- a/builder/docker/config.go +++ b/builder/docker/config.go @@ -29,6 +29,8 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) { return nil, nil, err } + c.tpl.UserVars = c.PackerUserVars + // Defaults if len(c.RunCommand) == 0 { c.RunCommand = []string{