diff --git a/compiler/native/native.go b/compiler/native/native.go index 4a10aae2f..5f12d3954 100644 --- a/compiler/native/native.go +++ b/compiler/native/native.go @@ -140,7 +140,7 @@ func (c *client) Duplicate() compiler.Engine { cc.CloneImage = c.CloneImage cc.TemplateDepth = c.TemplateDepth cc.StarlarkExecLimit = c.StarlarkExecLimit - cc.TemplateCache = c.TemplateCache + cc.TemplateCache = make(map[string][]byte) return cc }