18 lines
526 B
Docker
18 lines
526 B
Docker
FROM debian:buster-slim
|
|
|
|
RUN apt update && apt install -y wget gnupg2
|
|
RUN wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | apt-key add -
|
|
RUN echo "deb [arch=amd64] https://packages.elastic.co/curator/5/debian9 stable main" > /etc/apt/sources.list.d/curator.list
|
|
RUN apt update -y && apt install -y cron elasticsearch-curator tini
|
|
|
|
ENV CURATOR_VERSION=5.8.1
|
|
ENV LC_ALL=C.UTF-8
|
|
ENV LANG=C.UTF-8
|
|
|
|
COPY entrypoint.sh /
|
|
|
|
RUN ["chmod", "+x", "/entrypoint.sh"]
|
|
|
|
WORKDIR /usr/share/curator
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"] |