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
|
self.config['Image'] = self.image
|
||||||
if id is None:
|
if id is None:
|
||||||
cmd = self.config['Cmd']
|
cmd = self.config['Cmd']
|
||||||
self.config.Cmd = ['true']
|
self.config['Cmd'] = ['true']
|
||||||
id = self.run()
|
id = self.run()
|
||||||
self.config.Cmd = cmd
|
self.config['Cmd'] = cmd
|
||||||
|
|
||||||
res = self.client.commit(id, author=self.maintainer)
|
res = self.client.commit(id, author=self.maintainer)
|
||||||
if 'Id' not in res:
|
if 'Id' not in res:
|
||||||
|
|
Loading…
Reference in New Issue