Skip to content

Commit

Permalink
Added image cache_from to builder options
Browse files Browse the repository at this point in the history
Signed-off-by: Beorn Facchini <[email protected]>
  • Loading branch information
beornf committed Apr 25, 2017
1 parent c6a7d46 commit 61ee899
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/builder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ type DaemonBuilder struct {
ForceRemove bool
Pull bool
BuildArgs map[string]*string
CacheFrom []string
LoggerFactory logger.Factory
}

Expand Down Expand Up @@ -96,6 +97,7 @@ func (d *DaemonBuilder) Build(ctx context.Context, imageName string) error {
Dockerfile: d.Dockerfile,
AuthConfigs: d.AuthConfigs,
BuildArgs: d.BuildArgs,
CacheFrom: d.CacheFrom,
})
if err != nil {
return err
Expand Down

0 comments on commit 61ee899

Please sign in to comment.