mirror of https://github.com/infosecn1nja/HELK.git
make scala download link https and fix incorrect version that caused a 404 link/error fixes #400
parent
a73533dcc2
commit
71c77d8f7d
|
@ -11,7 +11,7 @@ ENV DEBIAN_FRONTEND noninteractive
|
|||
|
||||
# *********** Kafka Variables ***************
|
||||
ENV KAFKA_VERSION=2.4.0
|
||||
ENV SCALA_VERSION=2.13.1
|
||||
ENV SCALA_VERSION=2.13
|
||||
ENV KAFKA_LOGS_PATH=/var/log/kafka
|
||||
ENV KAFKA_CONSOLE_LOG=/var/log/kafka/helk-kafka.log
|
||||
ENV KAFKA_HOME=/opt/helk/kafka
|
||||
|
@ -32,7 +32,7 @@ RUN echo "[HELK-DOCKER-INSTALLATION-INFO] Updating Ubuntu base image.." \
|
|||
# *********** Creating the right directories ***************
|
||||
&& bash -c 'mkdir -pv /opt/helk/kafka' \
|
||||
# ********* Downloading Kafka *************
|
||||
&& wget -qO- http://mirrors.ocf.berkeley.edu/apache/kafka/${KAFKA_VERSION}/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz | sudo tar xvz -C /opt/helk/kafka/ --strip-components=1 \
|
||||
&& wget -qO- https://mirrors.ocf.berkeley.edu/apache/kafka/${KAFKA_VERSION}/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz | sudo tar xvz -C /opt/helk/kafka/ --strip-components=1 \
|
||||
&& mkdir -v $KAFKA_LOGS_PATH \
|
||||
# ********* Adding Kafka User *************
|
||||
&& groupadd -g ${KAFKA_GID} ${KAFKA_USER} \
|
||||
|
|
Loading…
Reference in New Issue