mirror of https://github.com/infosecn1nja/HELK.git
update helk-base image and switch to OTRF docker repo for it
parent
0aab44da0d
commit
f8f30cf4ab
|
@ -3,7 +3,7 @@
|
|||
# Author: Roberto Rodriguez (@Cyb3rWard0g)
|
||||
# License: GPL-3.0
|
||||
|
||||
FROM phusion/baseimage:0.11
|
||||
FROM phusion/baseimage:latest
|
||||
LABEL maintainer="Roberto Rodriguez @Cyb3rWard0g"
|
||||
LABEL description="Dockerfile HELK Base Image.."
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# https://github.com/Yelp/elastalert/blob/master/Dockerfile-test
|
||||
# https://jordanpotti.com/2017/12/22/using-elastalert-to-help-automate-threat-hunting/
|
||||
|
||||
FROM cyb3rward0g/helk-base:0.0.3
|
||||
FROM otrf/helk-base:0.0.4
|
||||
LABEL maintainer="Roberto Rodriguez @Cyb3rWard0g"
|
||||
LABEL description="Dockerfile base for the HELK Elastalert."
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Author: Roberto Rodriguez (@Cyb3rWard0g)
|
||||
# License: GPL-3.0
|
||||
|
||||
FROM cyb3rward0g/helk-base:0.0.3
|
||||
FROM otrf/helk-base:0.0.4
|
||||
LABEL maintainer="Roberto Rodriguez @Cyb3rWard0g"
|
||||
LABEL description="Dockerfile base for the HELK Kafka."
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# https://cyberwardog.blogspot.com/2017/02/setting-up-pentesting-i-mean-threat_98.html
|
||||
# https://github.com/spujadas/elk-docker/blob/master/Dockerfile
|
||||
|
||||
FROM cyb3rward0g/helk-base:0.0.2
|
||||
FROM otrf/helk-base:0.0.4
|
||||
LABEL maintainer="Roberto Rodriguez @Cyb3rWard0g"
|
||||
LABEL description="Dockerfile base for the HELK Nginx."
|
||||
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
# Author: Roberto Rodriguez (@Cyb3rWard0g)
|
||||
# License: GPL-3.0
|
||||
|
||||
FROM cyb3rward0g/helk-base:0.0.3
|
||||
FROM otrf/helk-base:0.0.4
|
||||
LABEL maintainer="Roberto Rodriguez @Cyb3rWard0g"
|
||||
LABEL description="Dockerfile base for HELK Spark."
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
# *********** Spark Env Variables ***************
|
||||
ENV SPARK_VERSION=2.4.3 \
|
||||
ENV SPARK_VERSION=2.4.4 \
|
||||
APACHE_HADOOP_VERSION=2.7 \
|
||||
SPARK_HOME=/opt/helk/spark \
|
||||
SPARK_LOGS=$SPARK_HOME/logs \
|
||||
|
@ -21,12 +21,12 @@ ENV SPARK_VERSION=2.4.3 \
|
|||
# *********** Installing Prerequisites ***************
|
||||
# -qq : No output except for errors
|
||||
RUN apt-get update -qq \
|
||||
&& apt-get install -qqy openjdk-8-jre-headless ca-certificates-java python3.7 \
|
||||
&& apt-get install -qqy openjdk-8-jre-headless ca-certificates-java python3 \
|
||||
&& apt-get -qy clean autoremove \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
# *********** Installing Spark and creating user ***************
|
||||
&& bash -c 'mkdir -pv /opt/helk/spark' \
|
||||
&& wget -qO- http://mirror.reverse.net/pub/apache/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop${APACHE_HADOOP_VERSION}.tgz | sudo tar xvz -C /opt/helk/spark --strip-components=1 \
|
||||
&& wget -qO- https://mirror.reverse.net/pub/apache/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop${APACHE_HADOOP_VERSION}.tgz | sudo tar xvz -C /opt/helk/spark --strip-components=1 \
|
||||
&& mkdir -p $SPARK_LOGS \
|
||||
&& groupadd -g ${SPARK_GID} ${SPARK_USER} \
|
||||
&& useradd -u ${SPARK_UID} -g ${SPARK_GID} -d ${SPARK_HOME} --no-create-home ${SPARK_USER} \
|
||||
|
|
Loading…
Reference in New Issue