ContainerImage.InotifyRsync/Dockerfile
Danny Bessems 345da1a0c6
All checks were successful
continuous-integration/drone/push Build is passing
Update 'Dockerfile'
2020-11-08 20:10:13 +00:00

16 lines
388 B
Docker

FROM alpine:latest
RUN apk upgrade --update-cache --available && \
apk add \
inotify-tools \
rsync && \
rm -rf /var/lib/apt/lists/* && \
rm /var/cache/apk/* && \
echo fs.inotify.max_user_watches=524288 | tee -a /etc/sysctl.conf && sysctl -p
COPY init/entrypoint.sh /tmp/entrypoint.sh
RUN chmod +x /tmp/entrypoint.sh
ENTRYPOINT ["/tmp/entrypoint.sh"]
CMD []