docker-rsync/Dockerfile
Simon Marsh e2b5ba678b
All checks were successful
continuous-integration/drone/push Build is passing
add known_hosts file
2021-12-27 16:57:51 +00:00

8 lines
203 B
Docker

FROM alpine
RUN apk add --update bash jq openssh-client rsync && rm -rf /var/cache/apk/*
RUN mkdir -p /root/.ssh
ADD rsync.sh /rsync.sh
ADD known_hosts /root/.ssh/known_hosts
ENTRYPOINT [ '/rsync.sh' ]