Add build log message

This commit is contained in:
Ben Firshman 2013-12-16 10:51:22 +00:00
parent 96ca74ccc8
commit ee0ac206e0
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
import logging
import re
log = logging.getLogger(__name__)
class Service(object):
def __init__(self, name, client=None, links=[], **options):
@ -72,6 +74,7 @@ class Service(object):
container_options['name'] = make_name(self.name, number)
if 'build' in self.options:
log.info('Building %s from %s...' % (self.name, self.options['build']))
container_options['image'] = self.client.build(self.options['build'])[0]
return container_options