Browse Source

change entrypoint. See Redmine 119188

Владимир Томишинец 5 years ago
parent
commit
8e2f9da3b0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      entrypoint.sh

+ 2 - 0
entrypoint.sh

@@ -3,6 +3,8 @@
 #Убиваем все что осталось с прошлого раза
 [ -d /pki ] && rm -rf /pki
 [ -f /var/lib/acme-dns/acme-dns.db ] && rm -f /var/lib/acme-dns/acme-dns.db
+echo "$SSHKEY" > /tmp/keyfile
+chmod 0400 /tmp/keyfile
 
 GIT_SSH_COMMAND='ssh -i /tmp/keyfile -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' git clone ${git_url}