# HG changeset patch # User mvdbeek # Date 1417545907 -3600 # Node ID 5d70248d1e01be30351babee90f8e549a997d418 # Parent 7e0392d4531c88f36ea3ff01c7e20525a9e64431 Fix image tag in call to docker build process. diff -r 7e0392d4531c -r 5d70248d1e01 DockerToolFactory.py --- a/DockerToolFactory.py Tue Dec 02 15:14:12 2014 +0100 +++ b/DockerToolFactory.py Tue Dec 02 19:45:07 2014 +0100 @@ -79,7 +79,7 @@ print 'docker container exists, skipping build' return image_id print "Building Docker image, using Dockerfile:{0}".format(dockerfile) - build_process=docker_client.build(fileobj=open(dockerfile, 'r'), image_tag=image_id) + build_process=docker_client.build(fileobj=open(dockerfile, 'r'), tag=image_id) print "succesfully dispatched docker build process, building now" build_log=[line for line in build_process] #will block until image is built. return image_id