Add quiet mode + ssh support
This commit is contained in:
parent
47414309bb
commit
9a8b3a2d0c
|
@ -3,7 +3,7 @@ FROM alpine:edge
|
|||
|
||||
VOLUME /data
|
||||
|
||||
RUN apk add --no-cache git bash
|
||||
RUN apk add --no-cache git bash openssh
|
||||
|
||||
ADD checker/* src/* /usr/local/bin/
|
||||
|
||||
|
|
|
@ -13,6 +13,6 @@ function prepareGitAuth(){
|
|||
# git configure http authenticator
|
||||
git config --global credential.helper "store --file=$confdir/git-credentials"
|
||||
# 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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user