2018-12-02 02:08:31 +01:00
|
|
|
FROM alpine
|
|
|
|
|
2019-02-03 19:46:12 +01:00
|
|
|
RUN apk add --no-cache docker bash tini
|
2018-12-02 02:08:31 +01:00
|
|
|
|
2019-01-12 04:06:34 +01:00
|
|
|
ENV NEXTCLOUD_EXEC_USER=www-data
|
2018-12-02 02:08:31 +01:00
|
|
|
ENV NEXTCLOUD_CONTAINER_NAME=
|
|
|
|
ENV NEXTCLOUD_PROJECT_NAME=
|
|
|
|
ENV NEXTCLOUD_CRON_MINUTE_INTERVAL=15
|
|
|
|
|
|
|
|
COPY scripts/*.sh /
|
2018-12-07 00:30:27 +01:00
|
|
|
COPY scripts/cron-scripts /cron-scripts
|
2018-12-02 02:08:31 +01:00
|
|
|
|
2019-02-03 19:46:12 +01:00
|
|
|
ENTRYPOINT ["tini", "--", "/entrypoint.sh"]
|
2018-12-02 02:08:31 +01:00
|
|
|
|
|
|
|
HEALTHCHECK --timeout=5s \
|
|
|
|
CMD ["/healthcheck.sh"]
|