From c7327aed5b1e56bc7f1e7613258f3b8cbef9542b Mon Sep 17 00:00:00 2001 From: John Internet Date: Thu, 2 Jan 2020 16:30:18 +0000 Subject: [PATCH] Move that around a bit. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 63fb52d..6fb17c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,13 @@ MAINTAINER Dr Internet RUN apk update && apk add --no-cache rsync openssh-client RUN rm -rf /var/cache/apk/* -# Prepare for SSH keys. +# Prepare SSH dir. RUN mkdir ~/.ssh # Copy in our executables. COPY agent-start agent-stop agent-add /bin/ COPY hosts-clear hosts-add /bin/ RUN chmod +x /bin/agent-* /bin/hosts-* + +# Prepare for known hosts. RUN hosts-clear