mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-11-23 16:03:46 +01:00
Copy the executables in two layers, not 5.
chmod with grep.
This commit is contained in:
parent
8a8eb3a7f3
commit
9f23357b59
1 changed files with 3 additions and 4 deletions
|
@ -9,7 +9,6 @@ RUN rm -rf /var/cache/apk/*
|
||||||
RUN mkdir ~/.ssh
|
RUN mkdir ~/.ssh
|
||||||
|
|
||||||
# Copy in our executables.
|
# Copy in our executables.
|
||||||
COPY agent-start /bin/agent-start
|
COPY agent-start agent-stop agent-add /bin/
|
||||||
COPY agent-add /bin/agent-add
|
COPY hosts-clear hosts-add /bin/
|
||||||
COPY agent-stop /bin/agent-stop
|
RUN chmod +x /bin/agent-* /bin/hosts-*
|
||||||
RUN chmod +x /bin/agent-start /bin/agent-stop /bin/agent-add
|
|
||||||
|
|
Loading…
Reference in a new issue