Skip to content

Commit d171917

Browse files
committed
fix: ensure ssh-client is installed within alpine
1 parent 919253b commit d171917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ENV SLACK_SIGNING_SECRET=""
44
ENV PORT=8080
55
ENV SSH_KNOWN_HOSTS="/etc/ssh/ssh_known_hosts"
66

7-
RUN ssh-keyscan -H github.com >> /etc/ssh/ssh_known_hosts
7+
RUN apk add -no-cache openssh-client && ssh-keyscan -H github.com >> /etc/ssh/ssh_known_hosts
88

99
ENTRYPOINT ["/gitops-commit"]
1010
COPY gitops-commit /

0 commit comments

Comments
 (0)