Update Dockerfile
This commit is contained in:
parent
aa7d0223d6
commit
3f2e20e428
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@ RUN mkdir /data && \
|
||||||
chown rsync:rsync /data && \
|
chown rsync:rsync /data && \
|
||||||
chmod 500 /data
|
chmod 500 /data
|
||||||
|
|
||||||
|
RUN touch /var/run/rsyncd.lock \
|
||||||
|
chown rsync:rsync /var/run/rsyncd.lock
|
||||||
|
|
||||||
USER rsync
|
USER rsync
|
||||||
|
|
||||||
CMD ["rsync", "--version"]
|
CMD ["rsync", "--version"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue