From d1719179582c247904af94610fdb4b7acce81197 Mon Sep 17 00:00:00 2001 From: Gavin Staniforth Date: Mon, 1 Nov 2021 08:59:37 +0000 Subject: [PATCH] fix: ensure ssh-client is installed within alpine --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e290f65..3c28d7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ENV SLACK_SIGNING_SECRET="" ENV PORT=8080 ENV SSH_KNOWN_HOSTS="/etc/ssh/ssh_known_hosts" -RUN ssh-keyscan -H github.com >> /etc/ssh/ssh_known_hosts +RUN apk add -no-cache openssh-client && ssh-keyscan -H github.com >> /etc/ssh/ssh_known_hosts ENTRYPOINT ["/gitops-commit"] COPY gitops-commit / \ No newline at end of file