Move that around a bit.

This commit is contained in:
John Internet 2020-01-02 16:30:18 +00:00
parent 55957604fb
commit c7327aed5b

View file

@ -5,11 +5,13 @@ MAINTAINER Dr Internet <internet@limelightgaming.net>
RUN apk update && apk add --no-cache rsync openssh-client RUN apk update && apk add --no-cache rsync openssh-client
RUN rm -rf /var/cache/apk/* RUN rm -rf /var/cache/apk/*
# Prepare for SSH keys. # Prepare SSH dir.
RUN mkdir ~/.ssh RUN mkdir ~/.ssh
# Copy in our executables. # Copy in our executables.
COPY agent-start agent-stop agent-add /bin/ COPY agent-start agent-stop agent-add /bin/
COPY hosts-clear hosts-add /bin/ COPY hosts-clear hosts-add /bin/
RUN chmod +x /bin/agent-* /bin/hosts-* RUN chmod +x /bin/agent-* /bin/hosts-*
# Prepare for known hosts.
RUN hosts-clear RUN hosts-clear