linux-on-ibm-z / dockerfile-examples

A collection of examples to show how Dockerfiles could be created and used on Linux on IBM z Systems.
37 stars 62 forks source link

apachekafka build will fail #14

Open philippe-richard opened 3 years ago

philippe-richard commented 3 years ago

during build i get the following error: --2021-02-12 15:06:37-- http://mirrors.estointernet.in/apache/kafka/2.5.0/kafka_2.12-2.5.0.tgz Resolving mirrors.estointernet.in (mirrors.estointernet.in)... 43.255.166.254, 2403:8940:3:1::f Connecting to mirrors.estointernet.in (mirrors.estointernet.in)|43.255.166.254|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2021-02-12 15:06:37 ERROR 404: Not Found.

The command '/bin/sh -c apt-get update && apt-get -y install git unzip wget && wget https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.5_10.tar.gz && tar -xvzf OpenJDK11U-jdk_s390x_linux_hotspot_11.0.5_10.tar.gz && rm OpenJDK11U-jdk_s390x_linux_hotspot_11.0.510.tar.gz && wget http://mirrors.estointernet.in/apache/kafka/2.5.0/kafka${VERSION}.tgz && tar -xvzf kafka${VERSION}.tgz && rm kafka${VERSION}.tgz && mv kafka_${VERSION} kafka' returned a non-zero code: 8

aborkar-ibm commented 3 years ago

Hello, We no longer maintain this dockerfile. Please refer to the table here (https://www.ibm.com/community/z/open-source-software/) for all the latest maintained build instructions and dockerfiles.

Looking at the error, it seems to be broken link. You could try by updating the download link for Kafka. Kafka Downloads -> https://kafka.apache.org/downloads

Regards,

korpx-z commented 3 years ago

@philippe-richard

just went to make the same issue.. point to 2.6.1 instead.

ENV VERSION=2.12-2.6.1 wget http://mirrors.estointernet.in/apache/kafka/2.6.1/kafka_${VERSION}.tgz

are the only two lines that need edited for a successful build