Skip to content

Instantly share code, notes, and snippets.

@chadbrewbaker
Created June 30, 2022 19:43
Show Gist options
  • Save chadbrewbaker/0168d5b62b161d6bd0b1681d9310ba54 to your computer and use it in GitHub Desktop.
Save chadbrewbaker/0168d5b62b161d6bd0b1681d9310ba54 to your computer and use it in GitHub Desktop.
Kibana install bug
FROM amazonlinux:2
RUN yum install -y wget java-11-amazon-corretto openssl
RUN wget https://artifacts.elastic.co/downloads/enterprise-search/enterprise-search-8.2.3.rpm
RUN wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.2.3-x86_64.rpm
RUN wget https://artifacts.elastic.co/downloads/kibana/kibana-8.2.3-x86_64.rpm
RUN export JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64
RUN rpm -ivh ./*.rpm
RUN systemctl daemon-reload
RUN systemctl enable elasticsearch.service
RUN systemctl start elasticsearch.service
RUN /usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana > et
RUN cat et | /usr/share/kibana/bin/kibana-setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment