Updated dockerfile

keyword-vs-text-changes
Roberto Rodriguez 2017-08-11 14:30:14 -04:00
parent 24432e0cbc
commit 9f226b5841
2 changed files with 30 additions and 2 deletions

View File

@ -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 ################

View File

@ -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