From e2b5ba678b21a70dad601cee9719ec8ac8b0aa30 Mon Sep 17 00:00:00 2001 From: Simon Marsh Date: Mon, 27 Dec 2021 16:57:51 +0000 Subject: [PATCH] add known_hosts file --- Dockerfile | 2 ++ known_hosts | 1 + 2 files changed, 3 insertions(+) create mode 100644 known_hosts diff --git a/Dockerfile b/Dockerfile index 02b70d0..df582e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM alpine RUN apk add --update bash jq openssh-client rsync && rm -rf /var/cache/apk/* +RUN mkdir -p /root/.ssh ADD rsync.sh /rsync.sh +ADD known_hosts /root/.ssh/known_hosts ENTRYPOINT [ '/rsync.sh' ] diff --git a/known_hosts b/known_hosts new file mode 100644 index 0000000..a668e3c --- /dev/null +++ b/known_hosts @@ -0,0 +1 @@ +@cert-authority * ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDX5AdQf5LbPFn+6JctOY19jI+tYzfYJ/rSyzVbLMRab ca-host@burble.dn42