Skip to content

Commit

Permalink
Fix file staging with cache
Browse files Browse the repository at this point in the history
  • Loading branch information
avirshup committed Nov 3, 2017
1 parent bb2c175 commit 54a54d6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dockermake/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ def stage(self, startimage, newimage):
buildargs = dict(path=cachedir,
tag=newimage,
decode=True)

if self.cache_from:
buildargs['cache_from'] = self.cache_from
utils.set_build_cachefrom(self.cache_from, buildargs, client)

# Build and show logs
stream = client.api.build(**buildargs)
Expand Down

0 comments on commit 54a54d6

Please sign in to comment.