diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2018-12-12 01:20:04 +0800 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2018-12-11 12:20:04 -0500 |
commit | 6e114f6791374d56c46978009ade7da22e34001a (patch) | |
tree | 39e9f110970dfb7e4d5d607f3ba5f0d40b272847 | |
parent | 15d6cf179d3b97b2ab88ece39617bcc4db1a2026 (diff) | |
download | gitea-6e114f6791374d56c46978009ade7da22e34001a.tar.gz gitea-6e114f6791374d56c46978009ade7da22e34001a.zip |
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
-rw-r--r-- | docker/etc/ssh/sshd_config | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/etc/ssh/sshd_config b/docker/etc/ssh/sshd_config index 62f05cf714..6af082c419 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 |