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