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

18 lines
252 B
Docker
Raw Normal View History

2015-07-13 14:40:05 +02:00
#
# Dockerfile for rsyncd
#
FROM alpine
2016-05-01 03:06:20 +02:00
MAINTAINER kev <noreply@easypi.info>
2015-07-13 14:40:05 +02:00
2016-05-08 13:42:45 +02:00
RUN set -xe \
&& apk add -U rsync \
2015-07-13 14:40:05 +02:00
&& rm -rf /var/cache/apk/*
COPY rsyncd.* /etc/
2016-05-08 13:42:45 +02:00
VOLUME /share
2015-07-13 14:40:05 +02:00
EXPOSE 873
CMD rsync --daemon --no-detach --log-file /dev/stdout