Skip to content

Instantly share code, notes, and snippets.

@lawrenceching
Created November 4, 2020 16:41
Show Gist options
  • Save lawrenceching/b5242dfe367f005b0231d962aafae110 to your computer and use it in GitHub Desktop.
Save lawrenceching/b5242dfe367f005b0231d962aafae110 to your computer and use it in GitHub Desktop.
Start ELK
FROM openjdk
RUN useradd -ms /bin/bash app
USER app
WORKDIR /var/app
COPY elasticsearch ./elasticsearch
COPY filebeat ./filebeat
COPY kibana ./kibana
COPY logstash ./logstash
COPY test.log /tmp
COPY start.sh .
ENTRYPOINT /var/app/start.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment