Commit 0788d968 authored by Jack Pearkes's avatar Jack Pearkes

builder/docker: include user vars for docker configuration

parent 04f14161
...@@ -29,6 +29,8 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) { ...@@ -29,6 +29,8 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) {
return nil, nil, err return nil, nil, err
} }
c.tpl.UserVars = c.PackerUserVars
// Defaults // Defaults
if len(c.RunCommand) == 0 { if len(c.RunCommand) == 0 {
c.RunCommand = []string{ c.RunCommand = []string{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment