Docker Files update

keyword-vs-text-changes
Roberto Rodriguez 2017-05-30 01:21:01 -04:00
parent e747ae924f
commit fd7f19750e
4 changed files with 8 additions and 5 deletions

View File

@ -1,11 +1,11 @@
# Dockerfile for Elasticsearch
# Author: Roberto Rodriguez @Cyb3rWard0g
FROM debian:jessie
RUN apt-get update && apt-get install -y openjdk-8-jre-headless wget
FROM openjdk:8-jre
RUN wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - && \
apt-get install apt-transport-https && \
RUN apt-get update && apt-get install wget && \
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - && \
apt-get install -y apt-transport-https && \
echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list && \
apt-get install elasticsearch && \
mv /etc/elasticsearch/elasticsearch.yml /etc/elasticsearch/backup_elasticsearch.yml

View File

@ -2,6 +2,7 @@
# Author: Roberto Rodriguez @Cyb3rWard0g
FROM debian:jessie
RUN apt-get update && apt-get install kibana && \
mv /etc/kibana/kibana.yml /etc/kibana/backup_kibana.yml

View File

@ -1,7 +1,8 @@
# Dockerfile for Logstash
# Author: Roberto Rodriguez @Cyb3rWard0g
FROM debian:jessie
FROM openjdk:8-jre
RUN apt-get update && apt-get install logstash
ADD ../logstash/02-beats-input.conf /etc/logstash/conf.d/02-beats-input.conf && \

View File

@ -2,6 +2,7 @@
# Author: Roberto Rodriguez @Cyb3rWard0g
FROM debian:jessie
RUN apt-get update && apt-get -y install nginx && \
echo "helkadmin:`openssl passwd -apr1 hunting`" | sudo tee -a /etc/nginx/htpasswd.users && \
mv /etc/nginx/sites-available/default /etc/nginx/sites-available/backup_default