1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/rsyncd/Dockerfile
2017-05-08 07:05:07 +08:00

18 lines
251 B
Docker

#
# Dockerfile for rsyncd
#
FROM alpine
MAINTAINER kev <noreply@easypi.pro>
RUN set -xe \
&& apk add -U rsync \
&& rm -rf /var/cache/apk/*
COPY rsyncd.* /etc/
VOLUME /share
EXPOSE 873
CMD rsync --daemon --no-detach --log-file /dev/stdout