mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-11-24 00:13:46 +01:00
9f23357b59
chmod with grep.
14 lines
374 B
Docker
14 lines
374 B
Docker
FROM alpine:3.11
|
|
MAINTAINER Dr Internet <internet@limelightgaming.net>
|
|
|
|
# Install RSync and Open SSH.
|
|
RUN apk update && apk add --no-cache rsync openssh-client
|
|
RUN rm -rf /var/cache/apk/*
|
|
|
|
# Prepare for SSH keys.
|
|
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-*
|