add logstash alert imgpull

main
ycz008 2024-02-26 15:11:19 +08:00
parent c7a1807f09
commit 872c3e3447
1 changed files with 2 additions and 1 deletions

View File

@ -2,4 +2,5 @@ FROM docker.elastic.co/logstash/logstash:7.16.3
COPY log-alert.sh /usr/local/bin/
RUN logstash-plugin install logstash-output-exec
RUN logstash-plugin install logstash-output-exec && \
chmod +x /usr/local/bin/log-alert.sh