Last active
July 21, 2017 18:31
-
-
Save arslanm/40ac24d2d1a48797600e95f4497fd236 to your computer and use it in GitHub Desktop.
Dockerfile for filebeat as DaemonSet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:6 | |
RUN curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-5.5.0-x86_64.rpm && \ | |
rpm -i filebeat-5.5.0-x86_64.rpm && \ | |
rm -f filebeat-5.5.0-x86_64.rpm && \ | |
mkdir -p /etc/filebeat | |
COPY filebeat.yml /etc/filebeat/filebeat.yml | |
RUN chmod 600 /etc/filebeat/filebeat.yml | |
ENTRYPOINT ["/usr/bin/filebeat.sh", "-e", "-v"] | |
CMD ["-c", "/etc/filebeat/filebeat.yml"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment