Skip to content

Commit 3350717

Browse files
committed
allow logstash container to create log directory
1 parent 2bbd7cf commit 3350717

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎logstash8/Dockerfile‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
FROM docker.elastic.co/logstash/logstash:8.19.20
22

3+
USER root
4+
5+
RUN mkdir -p /var/log/logstash && chown -R logstash:logstash /var/log/logstash
6+
7+
USER logstash
8+
39
RUN bin/logstash-plugin install logstash-output-influxdb

0 commit comments

Comments
 (0)