Adding the ELK Code
[platform-oam.git] / elk-stack / logstash / Dockerfile
1 # https://github.com/elastic/logstash-docker
2 FROM docker.elastic.co/logstash/logstash:5.5.1
3 #FROM docker.elastic.co/logstash/logstash:6.0.1
4
5 # Add your logstash plugins setup here
6 # Example: RUN logstash-plugin install logstash-filter-json
7 # Install plugin for development
8 ##RUN /opt/logstash/bin/logstash-plugin install --development
9 ##RUN /opt/logstash/bin/logstash-plugin list
10
11
12 # Prepare directory & file for test
13 ##USER root
14 ##RUN mkdir -p /test
15
16 #ADD spec /test/spec
17 #ADD pipeline /test/pipeline
18 ##ADD spec/*.rb /test/spec
19 ##ADD pipeline/logstash.conf /test/pipeline/logstash.conf
20 ##ADD run.sh /usr/local/bin/run.sh
21
22 ##RUN chown logstash /usr/local/bin/run.sh && chmod +x /usr/local/bin/run.sh
23
24 ##USER logstash
25 ##CMD ["/usr/local/bin/run.sh"]
26 #USER logstash