Add kafka repo as submodule add support arm64
[iec.git] / src / use_cases / seba_on_arm / patches / kafka-prometheus-jmx-exporter / 0001-Modify-the-URL-to-properly-download-kafka-bin.patch
1 From 6be92d42b8239bbeb69882a4992138c075a47b00 Mon Sep 17 00:00:00 2001
2 From: jialv01 <Jianlin.Lv@arm.com>
3 Date: Thu, 28 Mar 2019 16:52:48 +0800
4 Subject: [PATCH] Modify the URL to properly download kafka bin
5
6 Signed-off-by: jialv01 <Jianlin.Lv@arm.com>
7 ---
8  kafka/Dockerfile | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/kafka/Dockerfile b/kafka/Dockerfile
12 index 4d43b54..19782bb 100644
13 --- a/kafka/Dockerfile
14 +++ b/kafka/Dockerfile
15 @@ -5,7 +5,7 @@ ENV kafka_bin_version=2.12-$kafka_version
16  
17  RUN apk add --no-cache --update-cache --virtual build-dependencies curl ca-certificates \
18    && mkdir -p /opt/kafka \
19 -  && curl -SLs "https://www-eu.apache.org/dist/kafka/$kafka_version/kafka_$kafka_bin_version.tgz" | tar -xzf - --strip-components=1 -C /opt/kafka \
20 +  && curl -SLs "https://archive.apache.org/dist/kafka/$kafka_version/kafka_$kafka_bin_version.tgz" |tar -xzf - --strip-components=1 -C /opt/kafka \
21    && apk del build-dependencies \
22    && rm -rf /var/cache/apk/*
23  
24 -- 
25 2.17.1
26