Skip to content
Snippets Groups Projects
Commit 3c8f2989 authored by nimrod's avatar nimrod
Browse files

Updates to the curater container.

- Update version of elasticsearch-curator.
- Update version of Alpine linux.
- Use supersonic instead of crond.
parent 885a4af6
No related branches found
No related tags found
No related merge requests found
FROM python:3.7-alpine FROM adarnimrod/cron as supersonic
RUN pip install --progress-bar=off --no-cache-dir elasticsearch-curator==5.5.4
COPY --chown=root:root entrypoint / FROM python:3.7-alpine3.9
ENTRYPOINT [ "/entrypoint" ] COPY --from=supersonic /usr/local/bin/supersonic /usr/local/bin/
CMD [ "/usr/sbin/crond", "-fd7" ] RUN pip install --progress-bar=off --no-cache-dir elasticsearch-curator==5.7.6
HEALTHCHECK --timeout=1s CMD pgrep crond || exit 1 USER nobody
CMD [ "supersonic", "/etc/crontabs/nobody" ]
HEALTHCHECK --timeout=1s CMD pgrep supersonic || exit 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment