mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-21 15:23:57 +00:00
Copy the executables in two layers, not 5.
chmod with grep.
This commit is contained in:
+3
-4
@@ -9,7 +9,6 @@ RUN rm -rf /var/cache/apk/*
|
||||
RUN mkdir ~/.ssh
|
||||
|
||||
# Copy in our executables.
|
||||
COPY agent-start /bin/agent-start
|
||||
COPY agent-add /bin/agent-add
|
||||
COPY agent-stop /bin/agent-stop
|
||||
RUN chmod +x /bin/agent-start /bin/agent-stop /bin/agent-add
|
||||
COPY agent-start agent-stop agent-add /bin/
|
||||
COPY hosts-clear hosts-add /bin/
|
||||
RUN chmod +x /bin/agent-* /bin/hosts-*
|
||||
|
||||
Reference in New Issue
Block a user