Skip to content

Commit 919253b

Browse files
committed
feat: add github known hosts
1 parent 88e6bb4 commit 919253b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ FROM alpine:3
22

33
ENV SLACK_SIGNING_SECRET=""
44
ENV PORT=8080
5+
ENV SSH_KNOWN_HOSTS="/etc/ssh/ssh_known_hosts"
6+
7+
RUN ssh-keyscan -H github.com >> /etc/ssh/ssh_known_hosts
58

69
ENTRYPOINT ["/gitops-commit"]
710
COPY gitops-commit /

0 commit comments

Comments
 (0)