Skip to content

Commit

Permalink
optimize: don't parse Dockerfile twice and just reuse stages
Browse files Browse the repository at this point in the history
  • Loading branch information
Dani Raznikov committed Apr 3, 2020
1 parent a3ce1ce commit 8152231
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/executor/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,6 @@ func DoBuild(opts *config.KanikoOptions) (v1.Image, error) {
return nil, err
}

// TODO is this even used?
if err := util.GetExcludedFiles(opts.DockerfilePath, opts.SrcContext); err != nil {
return nil, err
}
Expand Down

0 comments on commit 8152231

Please sign in to comment.