Add quiet mode + ssh support

This commit is contained in:
Václav Valíček (YCNet) 2018-02-09 11:48:51 +01:00
parent 47414309bb
commit 9a8b3a2d0c
No known key found for this signature in database
GPG Key ID: 7CF44871CEA75938
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ FROM alpine:edge
VOLUME /data VOLUME /data
RUN apk add --no-cache git bash RUN apk add --no-cache git bash openssh
ADD checker/* src/* /usr/local/bin/ ADD checker/* src/* /usr/local/bin/

View File

@ -13,6 +13,6 @@ function prepareGitAuth(){
# git configure http authenticator # git configure http authenticator
git config --global credential.helper "store --file=$confdir/git-credentials" git config --global credential.helper "store --file=$confdir/git-credentials"
# git configure ssh auth # git configure ssh auth
git config --global core.sshcommand "ssh -i $confdir/ssh/id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes" git config --global core.sshcommand "ssh -i $confdir/ssh/id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -q"
} }