bump elastic stack to 8.0.0

This commit is contained in:
t3chn0m4g3
2022-02-16 02:55:20 +00:00
parent 17a1cbdf40
commit 7ee263e8e8
13 changed files with 128 additions and 74 deletions

View File

@ -1,7 +1,7 @@
FROM ubuntu:20.04
#
# VARS
ENV LS_VER=7.17.0
ENV LS_VER=8.0.0
# Include dist
ADD dist/ /root/dist/
#
@ -37,11 +37,12 @@ RUN apt-get update -y && \
chmod u+x /usr/bin/entrypoint.sh && \
mkdir -p /etc/logstash/conf.d /usr/share/logstash/config && \
cp logstash.conf /etc/logstash/conf.d/ && \
cp logstash.yml /etc/logstash/conf.d/ && \
cp http_input.conf /etc/logstash/conf.d/ && \
cp http_output.conf /etc/logstash/conf.d/ && \
cp pipelines.yml /usr/share/logstash/config/pipelines.yml && \
cp pipelines_sensor.yml /usr/share/logstash/config/pipelines_sensor.yml && \
cp tpot_es_template.json /etc/logstash/ && \
cp tpot-template.json /etc/logstash/ && \
#
# Setup user, groups and configs
groupmod -g 2000 logstash && \
@ -61,4 +62,4 @@ HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:9600'
#
# Start logstash
USER logstash:logstash
CMD entrypoint.sh && exec /usr/share/logstash/bin/logstash --config.reload.automatic --java-execution
CMD entrypoint.sh && exec /usr/share/logstash/bin/logstash --config.reload.automatic