From 6e114f6791374d56c46978009ade7da22e34001a Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 12 Dec 2018 01:20:04 +0800 Subject: [PATCH] add git protocol v2 support via SSH on Docker image (#5520) * add git protocol v2 support via SSH on Docker image * remove new layer on dockerfile --- docker/etc/ssh/sshd_config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/etc/ssh/sshd_config b/docker/etc/ssh/sshd_config index 62f05cf7140..6af082c419e 100644 --- a/docker/etc/ssh/sshd_config +++ b/docker/etc/ssh/sshd_config @@ -29,3 +29,5 @@ AllowUsers git Banner none Subsystem sftp /usr/lib/ssh/sftp-server + +AcceptEnv GIT_PROTOCOL \ No newline at end of file