diff --git a/Dockerfile b/Dockerfile index 8ee0a6a..47e6b55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # HELK build version: 0.9 (BETA Script) # Author: Roberto Rodriguez @Cyb3rWard0g -FROM java:8 +FROM phusion/baseimage MAINTAINER Roberto Rodriguez @cyb3rward0g ARG DEBIAN_FRONTEND=noninteractive @@ -22,7 +22,9 @@ RUN apt-get update && \ RUN \ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - \ - && apt-get install apt-transport-https + && apt-get install apt-transport-https \ + && apt-get install -qqy openjdk-8-jdk \ + && apt-get clean ########################################### ############ ELASTICSEARCH ################ diff --git a/scripts/helk_docker_start.bash b/scripts/helk_docker_start.bash new file mode 100644 index 0000000..255b583 --- /dev/null +++ b/scripts/helk_docker_start.bash @@ -0,0 +1,26 @@ +#!/bin/bash + +# HELK Dockerfile Start Script (Elasticsearch, Logstash, Kibana & Nginx) +# HELK build version: 0.9 (BETA Script) +# Author: Roberto Rodriguez @Cyb3rWard0g + + +systemctl daemon-reload +systemctl enable elasticsearch.service +systemctl start elasticsearch.service + +sleep 15 + +systemctl daemon-reload +systemctl enable kibana.service +systemctl start kibana.service + +sleep 15 + +systemctl start logstash +systemctl restart logstash +systemctl enable logstash + +sleep 15 + +systemctl restart nginx \ No newline at end of file