nextcloud-cronjob/Dockerfile
Robert Dailey 26bf5c5f82
Use tini as init for entrypoint script
Signed-off-by: Robert Dailey <rcdailey@gmail.com>
2019-02-03 14:14:11 -06:00

16 lines
345 B
Docker

FROM alpine
RUN apk add --no-cache docker bash tini
ENV NEXTCLOUD_EXEC_USER=www-data
ENV NEXTCLOUD_CONTAINER_NAME=
ENV NEXTCLOUD_PROJECT_NAME=
ENV NEXTCLOUD_CRON_MINUTE_INTERVAL=15
COPY scripts/*.sh /
COPY scripts/cron-scripts /cron-scripts
ENTRYPOINT ["tini", "--", "/entrypoint.sh"]
HEALTHCHECK --timeout=5s \
CMD ["/healthcheck.sh"]