Merge pull request #402 from neu5ron/hot_fixes

scala download
updates_os_and_scripts
Roberto Rodriguez 2020-01-13 10:32:16 -05:00 committed by GitHub
commit 7d9d58afa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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