This is an automated email from the ASF dual-hosted git repository.
ddiederen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/master by this push:
new eeb0537 ZOOKEEPER-4055: Dockerfile can't build Zookeeper C client
library
eeb0537 is described below
commit eeb053767c9e931ae72a2d8c59c0940da3da9679
Author: okumin <[email protected]>
AuthorDate: Sun Jan 10 18:50:44 2021 +0000
ZOOKEEPER-4055: Dockerfile can't build Zookeeper C client library
https://issues.apache.org/jira/browse/ZOOKEEPER-4055
This PR would fix the build by installing `pkg-config` and enabling
`PKG_CHECK_MODULES`.
https://github.com/apache/zookeeper/blob/4e82a8be889d91dde46a11b38c8a20e82f3220f2/zookeeper-client/zookeeper-client-c/acinclude.m4#L314-L327
Another approach is to use a maven image with old Debian but it's less
reasonable for me.
Author: okumin <[email protected]>
Reviewers: Enrico Olivelli <[email protected]>, Damien Diederen
<[email protected]>
Closes #1575 from okumin/ZOOKEEPER-4055
---
dev/docker/Dockerfile | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/dev/docker/Dockerfile b/dev/docker/Dockerfile
index 8d148ee..bd2977f 100644
--- a/dev/docker/Dockerfile
+++ b/dev/docker/Dockerfile
@@ -20,4 +20,15 @@
FROM maven:3.6.3-jdk-8
RUN apt-get update
-RUN apt-get install -y g++ cmake autoconf libcppunit-dev libtool openssl
libssl-dev libsasl2-modules-gssapi-mit libsasl2-modules libsasl2-dev
+RUN apt-get install -y \
+ g++ \
+ cmake \
+ autoconf \
+ pkg-config \
+ libcppunit-dev \
+ libtool \
+ openssl \
+ libssl-dev \
+ libsasl2-modules-gssapi-mit \
+ libsasl2-modules \
+ libsasl2-dev