mirror of https://github.com/docker/docker-py.git
Fix line-spacing for build
Signed-off-by: Michael Sander <michael.sander@docketalarm.com>
This commit is contained in:
parent
b6d9af59cb
commit
9dbccce5b6
|
@ -46,7 +46,8 @@ class BuildApiMixin(object):
|
|||
if os.path.exists(dockerignore):
|
||||
with open(dockerignore, 'r') as f:
|
||||
exclude = list(filter(bool, f.read().splitlines()))
|
||||
context = utils.tar(path, exclude=exclude, dockerfile=dockerfile, gzip=True)
|
||||
context = utils.tar(path, exclude=exclude, dockerfile=dockerfile,
|
||||
gzip=True)
|
||||
encoding = 'gizp'
|
||||
|
||||
if utils.compare_version('1.8', self._version) >= 0:
|
||||
|
|
Loading…
Reference in New Issue