nextcloud-cronjob/Dockerfile

20 lines
527 B
Text
Raw Normal View History

FROM alpine:3@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
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
ENV NEXTCLOUD_EXEC_USER=www-data
ENV NEXTCLOUD_CONTAINER_NAME=
ENV NEXTCLOUD_PROJECT_NAME=
ENV NEXTCLOUD_CRON_MINUTE_INTERVAL=15
ENV NEXTCLOUD_EXEC_SHELL=bash
ENV NEXTCLOUD_EXEC_SHELL_ARGS=-c
COPY scripts/*.sh /
COPY scripts/cron-scripts-builtin /cron-scripts-builtin
ENTRYPOINT ["tini", "--", "/entrypoint.sh"]
HEALTHCHECK --timeout=5s \
CMD ["/healthcheck.sh"]