mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-11-23 16:03:46 +01:00
Move that around a bit.
This commit is contained in:
parent
55957604fb
commit
c7327aed5b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue