From 9a8b3a2d0c8f07557b5671386452735773177099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Val=C3=AD=C4=8Dek=20=28YCNet=29?= Date: Fri, 9 Feb 2018 11:48:51 +0100 Subject: [PATCH] Add quiet mode + ssh support --- Dockerfile | 2 +- checker/cloner-lib-auth | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b1c5b7d..e40c2cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/ diff --git a/checker/cloner-lib-auth b/checker/cloner-lib-auth index 86280fd..0c021ce 100644 --- a/checker/cloner-lib-auth +++ b/checker/cloner-lib-auth @@ -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" }