in docker_utils.py [0:0]
def _build_from_dockerfile(repository_name, dockerfile='Dockerfile', build_args={}):
build_cmd = ['docker', 'build', '-t', repository_name, '-f', dockerfile, '.']
for k,v in build_args.items():
build_cmd += ['--build-arg', '%s=%s' % (k,v)]
print("Building docker image %s from %s" % (repository_name, dockerfile))
_execute(build_cmd)
print("Done building docker image %s" % repository_name)