dockerfiles/rsyncd/Dockerfile

10 lines
242 B
Docker
Raw Permalink Normal View History

2022-09-16 11:00:50 +02:00
FROM alpine:3.16
COPY entrypoint.sh /entrypoint.sh
2022-09-16 11:00:50 +02:00
RUN chmod +x /entrypoint.sh && \
apk add --no-cache rsync
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/usr/bin/rsync", "--daemon", "--no-detach", "--config", "/etc/rsyncd.conf", "--verbose"]