From b95948711785374a8f8446acb91156b00d0dbc48 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Tue, 30 Jun 2015 03:00:10 +0200 Subject: [PATCH] Added git@ as a valid prefix for remote build paths --- docker/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/client.py b/docker/client.py index 998ebacbc1..0a932482ee 100644 --- a/docker/client.py +++ b/docker/client.py @@ -317,7 +317,7 @@ def build(self, path=None, tag=None, quiet=False, fileobj=None, elif fileobj is not None: context = utils.mkbuildcontext(fileobj) elif path.startswith(('http://', 'https://', - 'git://', 'github.com/')): + 'git://', 'github.com/', 'git@')): remote = path elif not os.path.isdir(path): raise TypeError("You must specify a directory to build in path")