This commit is contained in:
melody 2025-07-27 22:43:46 +02:00
commit 1252d8ed35
2 changed files with 118 additions and 0 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM git.shork.ch/docker-images/alpine-edge:latest
RUN apk upgrade --no-cache && \
apk add --no-cache su-exec curl rsync && \
adduser -D -u 1000 rsync
RUN mkdir /data && \
chown rsync:rsync /data && \
chmod 500 /data
RUN touch /var/run/rsyncd.lock && \
chown rsync:rsync /var/run/rsyncd.lock
USER rsync
CMD ["rsync", "--version"]