Skip to content

Commit b959487

Browse files
committed
Added git@ as a valid prefix for remote build paths
1 parent 5375433 commit b959487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def build(self, path=None, tag=None, quiet=False, fileobj=None,
317317
elif fileobj is not None:
318318
context = utils.mkbuildcontext(fileobj)
319319
elif path.startswith(('http://', 'https://',
320-
'git://', 'github.com/')):
320+
'git://', 'github.com/', 'git@')):
321321
remote = path
322322
elif not os.path.isdir(path):
323323
raise TypeError("You must specify a directory to build in path")

0 commit comments

Comments
 (0)