Bump librdkafka to 1.4.0

Package confluent-kafka-python v1.4.1 requires librdkafka >= 1.4.0 [1]
Bump sublibraries libressl3.0-libcrypto libressl3.0-libssl

[1] https://github.com/confluentinc/confluent-kafka-python/tree/v1.4.1#prerequisites

Change-Id: I005c16dc2c2c11548d4cdce023599fb9be03a52f
This commit is contained in:
Martin Chacon Piza 2020-05-04 13:25:44 +02:00
parent 2ebc766534
commit 1c20a58b22

View File

@ -79,17 +79,17 @@ ONBUILD RUN \
libxslt-dev \ libxslt-dev \
linux-headers \ linux-headers \
make && \ make && \
# For librdkafka bigger than v1.0.0 we need newer versions of some # For librdkafka bigger than v1.4.0 we need newer versions of some
# libraries. # libraries.
apk add --no-cache --virtual .build-librdkafka \ apk add --no-cache --virtual .build-librdkafka \
libressl2.7-libcrypto \ libressl3.0-libcrypto \
libressl2.7-libssl \ libressl3.0-libssl \
--repository=http://dl-cdn.alpinelinux.org/alpine/edge/main \ --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main \
--repository=http://dl-cdn.alpinelinux.org/alpine/edge/community && \ --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community && \
# Install librdkafka from source code. # Install librdkafka from source code.
apk add --no-cache curl bash && \ apk add --no-cache curl bash && \
curl https://codeload.github.com/edenhill/librdkafka/tar.gz/v1.1.0 | tar xzf - -C /tmp/ && \ curl https://codeload.github.com/edenhill/librdkafka/tar.gz/v1.4.0 | tar xzf - -C /tmp/ && \
cd /tmp/librdkafka-1.1.0/ && \ cd /tmp/librdkafka-1.4.0/ && \
./configure && \ ./configure && \
make && \ make && \
make install && \ make install && \