summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2015-06-30 03:00:10 +0200
committerJoffrey F <joffrey@docker.com>2015-06-30 03:00:10 +0200
commitb95948711785374a8f8446acb91156b00d0dbc48 (patch)
tree9d84bfc362d6aab59a8947a31cc0d958168c1c9e
parent537543305881a536dbbe5b29e7812b847c4e7b38 (diff)
downloaddocker-py-b95948711785374a8f8446acb91156b00d0dbc48.tar.gz
Added git@ as a valid prefix for remote build pathsfix_640
-rw-r--r--docker/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/client.py b/docker/client.py
index 998ebac..0a93248 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -317,7 +317,7 @@ class Client(requests.Session):
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")