mirror of https://github.com/docker/docker-py.git
Merge branch 'master' of https://github.com/dotcloud/docker-py
This commit is contained in:
commit
3ffef6dd04
|
@ -1 +1 @@
|
|||
from client import Client
|
||||
from .client import Client
|
||||
|
|
|
@ -355,9 +355,9 @@ class BuilderClient(object):
|
|||
self.config['Image'] = self.image
|
||||
if id is None:
|
||||
cmd = self.config['Cmd']
|
||||
self.config.Cmd = ['true']
|
||||
self.config['Cmd'] = ['true']
|
||||
id = self.run()
|
||||
self.config.Cmd = cmd
|
||||
self.config['Cmd'] = cmd
|
||||
|
||||
res = self.client.commit(id, author=self.maintainer)
|
||||
if 'Id' not in res:
|
||||
|
|
Loading…
Reference in New Issue