Merge pull request #1376 from aanand/fix-build-non-ascii-filename

Make sure the build path we pass to docker-py is a binary string
This commit is contained in:
Daniel Nephin 2015-04-30 20:54:21 -04:00
commit 4bce388b51
3 changed files with 32 additions and 2 deletions

View file

@ -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,