2018-12-01 19:08:31 -06:00
|
|
|
FROM alpine
|
|
|
|
|
2020-01-21 09:43:06 +11:00
|
|
|
RUN apk add --no-cache docker-cli bash tini
|
2018-12-01 19:08:31 -06:00
|
|
|
|
2019-01-11 21:06:34 -06:00
|
|
|
ENV NEXTCLOUD_EXEC_USER=www-data
|
2018-12-01 19:08:31 -06:00
|
|
|
ENV NEXTCLOUD_CONTAINER_NAME=
|
|
|
|
ENV NEXTCLOUD_PROJECT_NAME=
|
|
|
|
ENV NEXTCLOUD_CRON_MINUTE_INTERVAL=15
|
2020-08-28 14:52:50 -05:00
|
|
|
ENV NEXTCLOUD_EXEC_SHELL=bash
|
|
|
|
ENV NEXTCLOUD_EXEC_SHELL_ARGS=-c
|
2018-12-01 19:08:31 -06:00
|
|
|
|
|
|
|
COPY scripts/*.sh /
|
2018-12-06 17:30:27 -06:00
|
|
|
COPY scripts/cron-scripts /cron-scripts
|
2018-12-01 19:08:31 -06:00
|
|
|
|
2019-02-03 12:46:12 -06:00
|
|
|
ENTRYPOINT ["tini", "--", "/entrypoint.sh"]
|
2018-12-01 19:08:31 -06:00
|
|
|
|
|
|
|
HEALTHCHECK --timeout=5s \
|
|
|
|
CMD ["/healthcheck.sh"]
|