Merge pull request #1075 from KyleJamesWalker/master

Support alternate Dockerfile name.
This commit is contained in:
Daniel Nephin 2015-04-27 10:06:43 -04:00
commit a89bc304f6
6 changed files with 17 additions and 5 deletions

View file

@ -32,4 +32,4 @@ def docker_client():
)
timeout = int(os.environ.get('DOCKER_CLIENT_TIMEOUT', 60))
return Client(base_url=base_url, tls=tls_config, version='1.15', timeout=timeout)
return Client(base_url=base_url, tls=tls_config, version='1.17', timeout=timeout)

View file

@ -35,6 +35,7 @@ DOCKER_CONFIG_KEYS = [
ALLOWED_KEYS = DOCKER_CONFIG_KEYS + [
'build',
'dockerfile',
'expose',
'external_links',
'name',

View file

@ -482,6 +482,7 @@ class Service(object):
stream=True,
rm=True,
nocache=no_cache,
dockerfile=self.options.get('dockerfile', None),
)
try: