diff --git a/docker/Dockerfile b/docker/Dockerfile index 6817cbea..1e063f93 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -76,8 +76,18 @@ ONBUILD RUN \ git \ libffi-dev \ libressl-dev \ + libxml2-dev \ + libxslt-dev \ linux-headers \ make && \ + # We need librdkafka at last v0.11.5 so take it from edge. + # It will be default in Apline 3.9. + apk add --no-cache --virtual .build-librdkafka \ + libressl2.7-libcrypto \ + librdkafka-dev \ + libressl2.7-libssl \ + --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main \ + --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community && \ # Clone repository and checkout requested version. # This many steps are needed to support gerrit patch sets. mkdir -p /app && \ @@ -135,7 +145,7 @@ ONBUILD RUN \ printf "Constraints file: %s\\n" \ "$CONSTRAINTS_FILE"?h="$CONSTRAINTS_BRANCH" >> /VERSIONS && \ # Clean after instalation. - apk del .build-deps && \ + apk del .build-deps .build-librdkafka && \ rm -rf \ /app \ /root/.cache/ \