Make sure the build path we pass to docker-py is a binary string
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
878d90febf
commit
4f366d8355
3 changed files with 32 additions and 2 deletions
|
|
@ -462,8 +462,10 @@ class Service(object):
|
|||
def build(self, no_cache=False):
|
||||
log.info('Building %s...' % self.name)
|
||||
|
||||
path = six.binary_type(self.options['build'])
|
||||
|
||||
build_output = self.client.build(
|
||||
self.options['build'],
|
||||
path=path,
|
||||
tag=self.full_name,
|
||||
stream=True,
|
||||
rm=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue