make scala download link https and fix incorrect version that caused a 404 link/error fixes #400

updates_os_and_scripts
neu5ron 2020-01-13 10:29:35 -05:00
parent a73533dcc2
commit 71c77d8f7d
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} \