2024-05-23 02:01:42 +02:00
|
|
|
FROM alpine:3.20.0
|
2018-12-02 02:08:31 +01:00
|
|
|
|
2023-10-31 18:38:32 +01:00
|
|
|
# hadolint ignore=DL3018
|
2020-01-20 23:43:06 +01:00
|
|
|
RUN apk add --no-cache docker-cli 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
|
2020-08-28 21:52:50 +02:00
|
|
|
ENV NEXTCLOUD_EXEC_SHELL=bash
|
|
|
|
ENV NEXTCLOUD_EXEC_SHELL_ARGS=-c
|
2018-12-02 02:08:31 +01:00
|
|
|
|
|
|
|
COPY scripts/*.sh /
|
2020-10-26 19:55:10 +01:00
|
|
|
COPY scripts/cron-scripts-builtin /cron-scripts-builtin
|
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"]
|